Merge "Ensure we don't set visibility after action is destroyed."
This commit is contained in:
@@ -295,7 +295,9 @@ public class PipMenuActivity extends Activity {
|
||||
if (animationFinishedRunnable != null) {
|
||||
animationFinishedRunnable.run();
|
||||
}
|
||||
setVisible(false);
|
||||
if (!isDestroyed()) {
|
||||
setVisible(false);
|
||||
}
|
||||
}
|
||||
});
|
||||
mMenuContainerAnimator.addUpdateListener(mMenuBgUpdateListener);
|
||||
|
||||
Reference in New Issue
Block a user