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

Commit 73228856 authored by Sun Changqing's avatar Sun Changqing Committed by Jia Jia
Browse files

Fix anr when installing package

Change-Id: I02dba3a8f290c2cd8eb43062156f03302955ed06
parent 0b6bf88c
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;
            }