Merge "Prevent deadlock for clearWaitingDialog" into tm-dev am: e880b639cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18030448 Change-Id: Id4703ffd794614737bcf523c31ced948b93a90a5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -144,7 +144,8 @@ final class ErrorDialogController {
|
|||||||
if (mWaitDialog == null) {
|
if (mWaitDialog == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mWaitDialog.dismiss();
|
final BaseErrorDialog dialog = mWaitDialog;
|
||||||
|
mService.mUiHandler.post(dialog::dismiss);
|
||||||
mWaitDialog = null;
|
mWaitDialog = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user