Merge "Fix anr when installing package" into rvc-qpr-dev

This commit is contained in:
TreeHugger Robot
2020-11-12 20:30:59 +00:00
committed by Android (Google) Code Review

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;
}