OSDN Git Service

Bump up the protection level of the CLEAR_APP_CACHE permission
authorSvet Ganov <svetoslavganov@google.com>
Fri, 12 Jun 2015 01:34:28 +0000 (18:34 -0700)
committerSvet Ganov <svetoslavganov@google.com>
Fri, 12 Jun 2015 01:34:31 +0000 (18:34 -0700)
This permission guards only hidden and system APIs, hance it
should be signatureOrSystem protection level.

Change-Id: I8d2b75167c6887a285af0b494c39b4ffea2f0cbf

core/res/AndroidManifest.xml

index 521238b..2f18cf3 100644 (file)
     <!-- Allows an application to clear the caches of all installed
          applications on the device.  -->
     <permission android:name="android.permission.CLEAR_APP_CACHE"
-        android:protectionLevel="dangerous" />
+        android:protectionLevel="signatureOrSystem" />
 
     <!-- @SystemApi Allows an application to use any media decoder when decoding for playback
          @hide -->