Merge "Fixes AssistOrbController crash" into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c5f6c53cd8
@@ -57,7 +57,9 @@ public class AssistOrbController {
|
||||
public void run() {
|
||||
mView.removeCallbacks(this);
|
||||
mView.show(false /* show */, true /* animate */, () -> {
|
||||
mWindowManager.removeView(mView);
|
||||
if (mView.isAttachedToWindow()) {
|
||||
mWindowManager.removeView(mView);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user