diff options
author | David Brazdil <dbrazdil@google.com> | 2018-08-28 12:55:56 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-08-28 15:20:50 +0100 |
commit | 787b6f22a63e5c90e6bde69da64af2fbea68a50d (patch) | |
tree | a969e81021a2f5883f7d5aa0c613ade3ae221f4c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 32f68e6b6b4a686268d75c868b9682fdd91a6e81 (diff) |
Add android:usesNonSdkApi manifest attribute
ActivityManagerService decides on the non-SDK API enforcement policy
of every newly spawned process. System apps can be exempted by adding
their package name to a config XML file, tests can pass a flag to
'am instrument'. This patch adds a new @hide attribute on the <application>
manifest tag, "android:usesNonSdkApi", which can be used by both
system apps and tests, and is automatically set by the build system.
The use of the attribute remains guarded as follows:
- if invoked via 'am instrument', must hold shell user permission,
- if app launched, must be a system app or an updated system app.
The attribute is ignored in all other cases.
Bug: 113315999
Test: N/A
Change-Id: I2f6cb56f63fa2c5dd6c7c25fcefe8205da1ec96a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions