Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfe526b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix anr when installing package" am: 387cf5e1

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

Change-Id: Ia8c5e5d8e71460657f1cb953bde50463ec5faa94
parents 2cf1c81e 387cf5e1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
            }