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

Skip to content
Commit 4eface65 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PackageManager] Add @NonNull on ResolveInfo#loadLabel

Add @NonNull for the method and also add @NonNull on the
parameter (pm). If pm is null, it throws NPE in the original
behavior. We add the new null check will not change the original
behavior. It should be safe and backward-compatible.

Test: atest ResolveInfoTest
Bug: 271814726
Change-Id: Ic4ed1873488facaed29e62a50274b0a95a8baec1
parent 218dd2f0
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