diff options
author | Scott Warner <Tortel1210@gmail.com> | 2014-01-05 10:44:53 -0500 |
---|---|---|
committer | Scott Warner <Tortel1210@gmail.com> | 2014-01-13 10:00:40 -0500 |
commit | 134d63405dd5e9a8a54e3d76c0967738a82c4100 (patch) | |
tree | 63d677f37bd9ec72725d335b091ed6b9bcfd5576 /AndroidManifest.xml | |
parent | f41216136a66830caaf0f40af4019ccd579d4356 (diff) | |
download | android_packages_apps_Gallery2-134d63405dd5e9a8a54e3d76c0967738a82c4100.tar.gz android_packages_apps_Gallery2-134d63405dd5e9a8a54e3d76c0967738a82c4100.tar.bz2 android_packages_apps_Gallery2-134d63405dd5e9a8a54e3d76c0967738a82c4100.zip |
Storage configuration options (2/2)
This adds an intent listener to listen for storage path changes
from the camera app, so that it will display the correct folder
as the main Camera folder.
Change-Id: Ie487323edce58f174b4956a2e832ac4c121309ef
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index ceee22410..900d4adb0 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -12,6 +12,9 @@ <permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER" android:protectionLevel="signatureOrSystem" /> + <permission android:name="com.android.gallery3d.permission.STORAGE_CHANGE" + android:protectionLevel="signatureOrSystem" /> + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> @@ -361,6 +364,14 @@ </intent-filter> </receiver> + <!-- Receiver to keep the storage path for the camera in sync --> + <receiver android:name="com.android.gallery3d.app.StorageChangeReceiver" + android:permission="com.android.gallery3d.permission.STORAGE_CHANGE" > + <intent-filter> + <action android:name="com.android.gallery3d.STORAGE_CHANGE" /> + </intent-filter> + </receiver> + <service android:name="com.android.camera.MediaSaveService" /> </application> </manifest> |