summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-04-03 14:47:26 +0100
committerMathew Inwood <mathewi@google.com>2018-04-10 10:13:07 +0100
commit1ab3025cc761862392db757ed8c12de0574443f5 (patch)
tree1f04465602c4509220a8988332bff75c57035ba5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentb8c95299ebb434d2abd708c4bffe869607bdeac7 (diff)
Different hidden API enforcement policy for P & pre-P.
Also make these configurable so we have the flexibility to change it if necessary. Setting the policy inside ActivityManagerService is not ideal, as that means that AMS is the only place where the policy in ApplicationInfo is correct. It should really be set inside PackageManagerService. However, if it's set there, it would get out of date when the settings change, and we'd have to update inside AMS anyway. So putting it only here seems ok for now. Test: $ adb shell settings put global hidden_api_policy_pre_p_apps 2 Test: $ adb shell settings put global hidden_api_policy_p_apps 2 Bug: 64382372 Change-Id: Ic4cbbb1e6464623e90c17ae08c0b6cbbe0dfa125
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions