Fix anr when installing package
Test: Backport from AOSP Fixes: 172829519 Change-Id: I02dba3a8f290c2cd8eb43062156f03302955ed06
This commit is contained in:
committed by
Philip P. Moltmann
parent
655789af79
commit
32c9ed00a7
@@ -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