diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-25 12:19:12 -0800 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-27 10:26:43 -0800 |
commit | c028be4f3b8c7476b46859f66c3f33d528adf181 (patch) | |
tree | 8a740e6207e958572706a636fcb92425dbf13a6e /core/res | |
parent | aeb4126736c1b93abe5252e1723c568a13da7c81 (diff) | |
download | frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.zip frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.tar.gz frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.tar.bz2 |
AppsOnSd feature - Add default container
Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI
TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/AndroidManifest.xml | 10 | ||||
-rw-r--r-- | core/res/res/values/strings.xml | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index ac6467d..54e15a5 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1202,6 +1202,16 @@ android:description="@string/permdesc_cache_filesystem" android:protectionLevel="signatureOrSystem" /> + <!-- Must be required by default container service so that only + the system can bind to it and use it to copy + protected data to secure containers or files + accessible to the system. + @hide --> + <permission android:name="android.permission.COPY_PROTECTED_DATA" + android:label="@string/permlab_copyProtectedData" + android:description="@string/permlab_copyProtectedData" + android:protectionLevel="signature" /> + <application android:process="system" android:persistent="true" android:hasCode="false" diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 8c46f58..31f71d3 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -2102,6 +2102,12 @@ <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. --> <string name="permdesc_pkgUsageStats">Allows the modification of collected component usage statistics. Not for use by normal applications.</string> + <!-- permission attributes related to default container service --> + <!-- Title of an application permission that lets an application use default container service. --> + <string name="permlab_copyProtectedData">Allows to invoke default container service to copy content. Not for use by normal applications.</string> + <!-- Description of an application permission, used to invoke default container service to copy content. --> + <string name="permdesc_copyProtectedData">Allows to invoke default container service to copy content. Not for use by normal applications.</string> + <!-- Shown in the tutorial for tap twice for zoom control. --> <string name="tutorial_double_tap_to_zoom_message_short">Tap twice for zoom control</string> |