Browse Source

Remove setContentDescription calls (#3984) (#5196)

Awn 5 years ago
parent
commit
7438904cbc

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java View File

27
     public BottomTabs(Context context) {
27
     public BottomTabs(Context context) {
28
         super(context);
28
         super(context);
29
         setId(CompatUtils.generateViewId());
29
         setId(CompatUtils.generateViewId());
30
-        setContentDescription("BottomTabs");
31
     }
30
     }
32
 
31
 
33
     @Override
32
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/ComponentLayout.java View File

31
 		super(context);
31
 		super(context);
32
 		this.reactView = reactView;
32
 		this.reactView = reactView;
33
         addView(reactView.asView(), MATCH_PARENT, MATCH_PARENT);
33
         addView(reactView.asView(), MATCH_PARENT, MATCH_PARENT);
34
-        setContentDescription("ComponentLayout");
35
         touchDelegate = new OverlayTouchDelegate(reactView);
34
         touchDelegate = new OverlayTouchDelegate(reactView);
36
     }
35
     }
37
 
36
 

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/ExternalComponentLayout.java View File

13
 public class ExternalComponentLayout extends FrameLayout implements Component {
13
 public class ExternalComponentLayout extends FrameLayout implements Component {
14
     public ExternalComponentLayout(Context context) {
14
     public ExternalComponentLayout(Context context) {
15
 		super(context);
15
 		super(context);
16
-        setContentDescription("ExternalComponentLayout");
17
     }
16
     }
18
 
17
 
19
     @Override
18
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/StackLayout.java View File

18
         super(context);
18
         super(context);
19
         this.stackId = stackId;
19
         this.stackId = stackId;
20
         createLayout(topBarController);
20
         createLayout(topBarController);
21
-        setContentDescription("StackLayout");
22
     }
21
     }
23
 
22
 
24
     private void createLayout(TopBarController topBarController) {
23
     private void createLayout(TopBarController topBarController) {

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/titlebar/TitleBar.java View File

40
     public TitleBar(Context context) {
40
     public TitleBar(Context context) {
41
         super(context);
41
         super(context);
42
         getMenu();
42
         getMenu();
43
-        setContentDescription("titleBar");
44
     }
43
     }
45
 
44
 
46
     @Override
45
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/topbar/TopBar.java View File

76
         root.addView(content);
76
         root.addView(content);
77
         root.addView(border);
77
         root.addView(border);
78
         addView(root, MATCH_PARENT, WRAP_CONTENT);
78
         addView(root, MATCH_PARENT, WRAP_CONTENT);
79
-        if (BuildConfig.DEBUG) setContentDescription("TopBar");
80
     }
79
     }
81
 
80
 
82
     private LinearLayout createContentLayout() {
81
     private LinearLayout createContentLayout() {