summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-02-03 19:19:09 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2012-02-15 14:55:47 -0800
commit25872aa3ef189ae5506a923398af11ce5eb1a9b9 (patch)
treeece1cffcc342e5e7133ca42d33ce97bbf403f779 /data/etc
parent91ec0b722f659bb5e4bcc64339f2fbbe30a31287 (diff)
downloadframeworks_base-25872aa3ef189ae5506a923398af11ce5eb1a9b9.zip
frameworks_base-25872aa3ef189ae5506a923398af11ce5eb1a9b9.tar.gz
frameworks_base-25872aa3ef189ae5506a923398af11ce5eb1a9b9.tar.bz2
Adding shell commands for modifying content.
1. Added methods to the ActivityManagerService remote interface that allow accessing content providers outside of an application. These methods are guarded by an internal signature protected permission which is given to the shell user. This enables a shell program to access content providers. 2. Implemented a shell command that takes as input as standart fagls with values and manipulates content via the content provider mechanism. Change-Id: I2943f8b59fbab33eb623458fa01ea61a077b9845
Diffstat (limited to 'data/etc')
-rw-r--r--data/etc/platform.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/etc/platform.xml b/data/etc/platform.xml
index 6cd07a3..8be1db2 100644
--- a/data/etc/platform.xml
+++ b/data/etc/platform.xml
@@ -158,6 +158,7 @@
<assign-permission name="android.permission.BACKUP" uid="shell" />
<assign-permission name="android.permission.FORCE_STOP_PACKAGES" uid="shell" />
<assign-permission name="android.permission.STOP_APP_SWITCHES" uid="shell" />
+ <assign-permission name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" uid="shell" />
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_DRM" uid="media" />