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() {
|
private void onNavigationSettingsChanged() {
|
||||||
boolean wasBackAllowed = isHandlingGestures();
|
boolean wasBackAllowed = isHandlingGestures();
|
||||||
updateCurrentUserResources();
|
updateCurrentUserResources();
|
||||||
if (wasBackAllowed != isHandlingGestures()) {
|
if (mStateChangeCallback != null && wasBackAllowed != isHandlingGestures()) {
|
||||||
mStateChangeCallback.run();
|
mStateChangeCallback.run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user