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,7 +66,9 @@ public class RotationContextButton extends ContextualButton implements
@Override @Override
public void onDestroy() { public void onDestroy() {
mRotationButtonController.cleanUp(); if (mRotationButtonController != null) {
mRotationButtonController.cleanUp();
}
} }
@Override @Override