diff options
author | Jeff Davidson <jpd@google.com> | 2014-07-16 16:43:01 -0700 |
---|---|---|
committer | Jeff Davidson <jpd@google.com> | 2014-07-17 09:27:36 -0700 |
commit | 4bd7efbe982d26a68950f3c92bd0e7142c4ecbf7 (patch) | |
tree | 2dee14f2e3ef188fe7d38205675b75728eb32917 /core/res/AndroidManifest.xml | |
parent | 08cfaf672604422dd355d6703aec78f3aa5ee74e (diff) | |
download | frameworks_base-4bd7efbe982d26a68950f3c92bd0e7142c4ecbf7.zip frameworks_base-4bd7efbe982d26a68950f3c92bd0e7142c4ecbf7.tar.gz frameworks_base-4bd7efbe982d26a68950f3c92bd0e7142c4ecbf7.tar.bz2 |
Restrict SCORE_NETWORKS permission to signature|system.
As long as the APIs aren't ready to be un-hidden, there's no need to
allow non-system apps to access them. This can be reverted when the
APIs are finalized and we have mechanisms in place for selecting
between scorers installed on the device, rather than only a
preselected scorer bundled with the system.
Change-Id: I745b4c691eccfb526014d4cb71639db2119e4fdb
Diffstat (limited to 'core/res/AndroidManifest.xml')
-rw-r--r-- | core/res/AndroidManifest.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 658ef96..c9fd6c4 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -834,9 +834,10 @@ android:label="@string/permlab_changeWimaxState" /> <!-- Allows applications to act as network scorers. @hide @SystemApi--> + <!-- TODO: Change protection level to normal when unhiding this API. --> <permission android:name="android.permission.SCORE_NETWORKS" android:permissionGroup="android.permission-group.NETWORK" - android:protectionLevel="normal" + android:protectionLevel="signature|system" android:description="@string/permdesc_scoreNetworks" android:label="@string/permlab_scoreNetworks" /> |