Merge "Fix NPE in edge back gesture handler" into sc-v2-dev
This commit is contained in:
@@ -384,7 +384,7 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
|
||||
private void onNavigationSettingsChanged() {
|
||||
boolean wasBackAllowed = isHandlingGestures();
|
||||
updateCurrentUserResources();
|
||||
if (wasBackAllowed != isHandlingGestures()) {
|
||||
if (mStateChangeCallback != null && wasBackAllowed != isHandlingGestures()) {
|
||||
mStateChangeCallback.run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user