diff options
| author | David Brazdil <dbrazdil@google.com> | 2018-08-28 12:55:56 +0100 |
|---|---|---|
| committer | David Brazdil <dbrazdil@google.com> | 2018-08-30 14:10:33 +0100 |
| commit | ca6f81d39525174e926c2fcc824fe9531ffb3563 (patch) | |
| tree | 992362917e0b14dab3fea534a4c12801647628dc /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 6717a6f930cd1fc72ee71de7d01b0077f9e055e2 (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
Merged-In: I2f6cb56f63fa2c5dd6c7c25fcefe8205da1ec96a
Change-Id: I2f6cb56f63fa2c5dd6c7c25fcefe8205da1ec96a
(cherry picked from commit 787b6f22a63e5c90e6bde69da64af2fbea68a50d)
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
