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

Skip to content
Commit a0f42bea authored by Hidehiko Tsuchiya's avatar Hidehiko Tsuchiya Committed by Todd Kennedy
Browse files

Fix PackageManagerService crashed due to NPE during debugging installing

Symptom:
PackageManagerService crashed due to NPE during debugging installing
an invalid package. The crash can be observed only when DEBUG_INSTALL
flag is true.

Root cause:
In this case, the null object access occurs during debug output.

Solution:
Avoid directly accessing packageName. Show the package name via
toString() of Package object.

Bug: 140057579
Change-Id: I302903a2a6b29454dbf718a07c82f5583f93097c
parent 0ec249bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment