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

Commit 015eb820 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

null check jarfile before using

Bug: 29937423
Change-Id: I14f8530523bedf6c287a7f89d3e54919d98454c9
parent 0e792f56
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7986,7 +7986,9 @@ public class PackageManagerService extends IPackageManager.Stub {
        } catch (IOException ignore) {
        } finally {
            try {
                if (jarFile != null) {
                    jarFile.close();
                }
            } catch (IOException ignore) {}
        }
        return false;