Merge "Fixes AssistOrbController crash" into sc-qpr1-dev am: c5f6c53cd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15526390 Change-Id: I7f464398e096295c81f1c3b137fcae9e3cc6530e
This commit is contained in:
@@ -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