summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-08-17 00:19:43 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-08-19 10:33:38 +0000
commit1d6bc4e1874ae4fbe2695d08464cc2b0f659f997 (patch)
treeb28bc43fd8728524ffba60579f328c5f6200e2c6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parented4eb3c144b49fdf4bb490fc6adb117dda541737 (diff)
Restrict the getter of where the app launched from
It may reveal the package name and user behavior. Though the methods are hidden, the app can still bypass the guard of hidden api and use reflection to invoke the methods. Currently the methods are only used by system, Settings, Nfc, SystemUI, CertInstaller and PackageInstaller. So by enforcing platform signature, most of cases are protected. Except PackageInstaller can be signed with different key, hence there is a special case to check it. Bug: 191954233 Test: Use reflection to call the methods from an app without platform signature. Change-Id: I69a1774e8db63baca4e0d05c238911208b4cd1e9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions