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

Skip to content
Commit 9bbb3d6b authored by Iván Budnik's avatar Iván Budnik
Browse files

Hide cross-user getInstance() and promote non-cross-user getInstance()

getInstance(Context, String, UserHandle) is only useful for privileged
components with INTERACT_ACROSS_USERS_FULL like SysUI and Settings,
which can access hidden APIs. Therefore, there is no advantage in
exposing the method as a public API and we can keep it hidden.

As an alternative, this change promotes getInstance(Context, String) from
SystemAPI to public API, which supports all the use cases required by
public API users.

Bug: 288580225
Test: Presubmit.
Change-Id: I08372cd87b46f54303cd32055c96d20953b9fc6d
parent bf7e3de0
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