Merge "Skip handling accessibility events while nav bar is not initialized"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f35e819bab
@@ -1211,6 +1211,9 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
|
||||
}
|
||||
|
||||
private void updateAccessibilityServicesState(AccessibilityManager accessibilityManager) {
|
||||
if (mNavigationBarView == null) {
|
||||
return;
|
||||
}
|
||||
boolean[] feedbackEnabled = new boolean[1];
|
||||
int a11yFlags = getA11yButtonState(feedbackEnabled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user