summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Iván Budnik <ivanbuper@google.com> 2024-01-24 19:59:56 +0000
committer Iván Budnik <ivanbuper@google.com> 2024-01-25 14:20:49 +0000
commit9bbb3d6b6491050a7bb2dcc824766b4ffb7e5d7e (patch)
tree03e7f022bd49fa2ecea288de0c0efb44b6672de2 /libs/androidfw/ResourceTimer.cpp
parentbf7e3de05007e17f499c88fede19a077bafe34b7 (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions