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

Commit 1174f71e authored by Kenny Root's avatar Kenny Root
Browse files

Reorganize PackageManager dump to avoid NPE

versionCode and mVersionName were added recently but ps.pkg can be null
in some situations. Move them to where it will check before
dereferencing it.

Bug: 3121050
Change-Id: I46081f300e7a40354cb757f9eaa7ec98b9334c8b
parent 2754b4bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment