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

Skip to content
Commit eeb0326d authored by Zixuan Qu's avatar Zixuan Qu
Browse files

Fix "can't find system service" error on PackageManager.

Using mContext.getPackageManager() instead of mContext.getSystemService(PackageManager.class).

Context.getSystemService(...) APIs are not supported on PackageManager, see documentation at https://developer.android.com/reference/android/content/Context#getSystemService(java.lang.Class%3CT%3E)

Bug: 270575748
Test: Manual tests

Change-Id: I51af62741002654287215ff2882f4ff10f69c26e
parent 68b5c788
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