Merge "Fix anr when installing package" am: 387cf5e127 am: cfe526b0a7 am: 139935436f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1481018 Change-Id: If5d7b6d79434935601ea54033f22c86242299089
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user