Merge "Prevent deadlock for clearWaitingDialog" into tm-dev am: e880b639cf am: 7015800dfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18030448 Change-Id: I81555205ef1dbd6310b57badef5dcc96c0d002aa 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