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

Skip to content
Commit 744a05e9 authored by Rhed Jao's avatar Rhed Jao
Browse files

Fix cross user package visibility leakage for queryInstrumentation

Returns false for querying instrumentation APIs if the target package
does not installed in the calling user.

Also adding a user id parameter to APIs for the system modules to
specify the correct user id when querying the instrumentation.

NoNonSdkCheck: The equivalent apis are available in PackageManager.
Bug: 229684723
Test: atest CrossUserPackageVisibilityTests
Change-Id: I0798e543705cb8866231ee376e07b853b419b6f3
parent a7a7a9c1
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