OSDN Git Service

Added new API for URI permissions management.
authorFelipe Leme <felipeal@google.com>
Thu, 7 Jan 2016 20:08:19 +0000 (12:08 -0800)
committerFelipe Leme <felipeal@google.com>
Fri, 8 Jan 2016 00:02:58 +0000 (16:02 -0800)
commitf3fa0f8fc689d644adc77e91c85e9311bc2f9c74
tree0216169fde5d342bfe4de0a034f8ca0b7b272fe1
parent5724fe9d2f8326a52f1f16cd92244e7085b36a1c
Added new API for URI permissions management.

The new methods are:

- getGrantedUriPermissions(String packageName)
- clearGrantedUriPermissions(String packageName)

These methods will be used by the Settings app to allow users to clear
the URI permissions granted to an application.

BUG: 26447975

Change-Id: I6867402e42b3d6fd03050ec57b73973ccd8a17af
core/java/android/app/ActivityManager.java
core/java/android/app/ActivityManagerNative.java
core/java/android/app/IActivityManager.java
core/res/AndroidManifest.xml
services/core/java/com/android/server/am/ActivityManagerService.java