Merge "Fix anr when installing package" am: 387cf5e127 am: cfe526b0a7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1481018

Change-Id: I252ffec7007faa2a96a1eafe8955a3d18f21c537
This commit is contained in:
Treehugger Robot
2020-11-05 19:29:44 +00:00
committed by Automerger Merge Worker

View File

@@ -339,6 +339,10 @@ public class InstallInstalling extends AlertActivity {
try {
session = getPackageManager().getPackageInstaller().openSession(mSessionId);
} catch (IOException e) {
synchronized (this) {
isDone = true;
notifyAll();
}
return null;
}