Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | package="com.android.documentsui"> |
| 3 | |
| 4 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" /> |
| 5 | |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 6 | <application |
Jeff Sharkey | 873daa3 | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 7 | android:name=".DocumentsApplication" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 8 | android:label="@string/app_label" |
| 9 | android:supportsRtl="true"> |
| 10 | |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 11 | <!-- TODO: allow rotation when state saving is in better shape --> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 12 | <activity |
| 13 | android:name=".DocumentsActivity" |
Jeff Sharkey | 7d58fc6 | 2013-09-12 16:25:02 -0700 | [diff] [blame^] | 14 | android:theme="@style/Theme"> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 15 | <intent-filter android:priority="100"> |
| 16 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 17 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 18 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 19 | <data android:mimeType="*/*" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 20 | </intent-filter> |
| 21 | <intent-filter android:priority="100"> |
| 22 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 23 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 24 | <category android:name="android.intent.category.OPENABLE" /> |
| 25 | <data android:mimeType="*/*" /> |
| 26 | </intent-filter> |
| 27 | <intent-filter android:priority="100"> |
| 28 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 29 | <category android:name="android.intent.category.DEFAULT" /> |
| 30 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 31 | <data android:mimeType="*/*" /> |
| 32 | </intent-filter> |
Jeff Sharkey | f339f25 | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 33 | <intent-filter> |
Jeff Sharkey | 91a101c | 2013-09-05 17:14:14 -0700 | [diff] [blame] | 34 | <action android:name="android.provider.action.MANAGE_ROOT" /> |
Jeff Sharkey | f339f25 | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 35 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 91a101c | 2013-09-05 17:14:14 -0700 | [diff] [blame] | 36 | <data android:mimeType="vnd.android.document/root" /> |
Jeff Sharkey | f339f25 | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 37 | </intent-filter> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 38 | </activity> |
| 39 | |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 40 | <activity |
| 41 | android:name=".SettingsActivity" |
Jeff Sharkey | 7d58fc6 | 2013-09-12 16:25:02 -0700 | [diff] [blame^] | 42 | android:label="@string/menu_settings" |
| 43 | android:theme="@android:style/Theme.Holo.Light.DialogWhenLarge" |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 44 | android:exported="false" /> |
| 45 | |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 46 | <provider |
| 47 | android:name=".RecentsProvider" |
| 48 | android:authorities="com.android.documentsui.recents" |
| 49 | android:exported="false" /> |
| 50 | |
Jeff Sharkey | 873daa3 | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 51 | <receiver android:name=".DocumentChangedReceiver"> |
| 52 | <intent-filter> |
| 53 | <action android:name="android.provider.action.DOCUMENT_CHANGED" /> |
| 54 | <data android:mimeType="vnd.android.cursor.dir/root" /> |
| 55 | <data android:mimeType="vnd.android.cursor.item/root" /> |
| 56 | </intent-filter> |
| 57 | </receiver> |
| 58 | |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 59 | <!-- TODO: remove when we have real clients --> |
Jeff Sharkey | ff5db1b | 2013-07-16 13:01:57 -0700 | [diff] [blame] | 60 | <activity android:name=".TestActivity" android:enabled="false"> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 61 | <intent-filter> |
| 62 | <action android:name="android.intent.action.MAIN" /> |
| 63 | <category android:name="android.intent.category.DEFAULT" /> |
| 64 | <category android:name="android.intent.category.LAUNCHER" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 65 | </intent-filter> |
| 66 | </activity> |
| 67 | </application> |
| 68 | </manifest> |