Merge "Fix crash when changing navigation modes" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-29 02:34:07 +00:00
committed by Android (Google) Code Review

View File

@@ -66,8 +66,10 @@ public class RotationContextButton extends ContextualButton implements
@Override @Override
public void onDestroy() { public void onDestroy() {
if (mRotationButtonController != null) {
mRotationButtonController.cleanUp(); mRotationButtonController.cleanUp();
} }
}
@Override @Override
public void onNavigationModeChanged(int mode) { public void onNavigationModeChanged(int mode) {