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

Skip to content
Commit 471817fa authored by Dario Freni's avatar Dario Freni Committed by Todd Kennedy
Browse files

Don't throw a runtime exception in getPackageInfo.

If the input is invalid, we need to just return null, otherwise we'll
make PackageManager crash.

Bug: 123676932
Fix: 123878869
Test: used a small app to query the API, reproduce the bug and
verified that the new code fixes it.

Change-Id: Icefb108cc95ec01e36021a5259c59dabdc24c4d6
parent 49b56314
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