Merge "Fix anr when installing package"
This commit is contained in:
@@ -339,6 +339,10 @@ public class InstallInstalling extends AlertActivity {
|
|||||||
try {
|
try {
|
||||||
session = getPackageManager().getPackageInstaller().openSession(mSessionId);
|
session = getPackageManager().getPackageInstaller().openSession(mSessionId);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
synchronized (this) {
|
||||||
|
isDone = true;
|
||||||
|
notifyAll();
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user