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

Commit 06e63420 authored by Ethan Chen's avatar Ethan Chen
Browse files

PackageManager: Catch possible NPE from unparsed platform package

Change-Id: I5e1623aec670b54ca2206561d6177f5173f2cd12
parent f4fae76c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9264,6 +9264,8 @@ public class PackageManagerService extends IPackageManager.Stub
            }
        } catch (PackageParserException e) {
            throw PackageManagerException.from(e);
        } catch (NullPointerException e) {
            throw new PackageManagerException(e.getMessage());
        } finally {
            Trace.traceEnd(TRACE_TAG_PACKAGE_MANAGER);
        }