Merge "Fix crash when changing navigation modes" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2abd554786
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user