summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorSailesh Nepal <sail@google.com>2015-07-29 17:39:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-29 17:39:37 +0000
commit6b96de8dae8be99f75c86c795672905e10fca153 (patch)
tree5d98e751d3b283db988fbf8b0c91316c750619b1 /core/java/android
parenta7a65ee4c5fb879fee258c63b92e49ab4571bbdb (diff)
parentcf85562bc9a0f01db51b4088e72f05a8089fc7f1 (diff)
downloadframeworks_base-6b96de8dae8be99f75c86c795672905e10fca153.zip
frameworks_base-6b96de8dae8be99f75c86c795672905e10fca153.tar.gz
frameworks_base-6b96de8dae8be99f75c86c795672905e10fca153.tar.bz2
Merge "Default permissions for sim call manager" into mnc-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/pm/PackageManagerInternal.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManagerInternal.java b/core/java/android/content/pm/PackageManagerInternal.java
index ea08956..bf70d6c 100644
--- a/core/java/android/content/pm/PackageManagerInternal.java
+++ b/core/java/android/content/pm/PackageManagerInternal.java
@@ -83,6 +83,12 @@ public abstract class PackageManagerInternal {
public abstract void setDialerAppPackagesProvider(PackagesProvider provider);
/**
+ * Sets the sim call manager packages provider.
+ * @param provider The packages provider.
+ */
+ public abstract void setSimCallManagerPackagesProvider(PackagesProvider provider);
+
+ /**
* Sets the sync adapter packages provider.
* @param provider The provider.
*/
@@ -101,4 +107,12 @@ public abstract class PackageManagerInternal {
* @param userId The user for which to grant the permissions.
*/
public abstract void grantDefaultPermissionsToDefaultDialerApp(String packageName, int userId);
+
+ /**
+ * Requests granting of the default permissions to the current default sim call manager.
+ * @param packageName The default sim call manager package name.
+ * @param userId The user for which to grant the permissions.
+ */
+ public abstract void grantDefaultPermissionsToDefaultSimCallManager(String packageName,
+ int userId);
}