Jeff Sharkey | 9e0036e | 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" /> |
Jeff Sharkey | 7aa7601 | 2013-09-30 14:26:27 -0700 | [diff] [blame] | 5 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 6 | |
Jeff Sharkey | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 7 | <application |
Jeff Sharkey | 4eb407a | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 8 | android:name=".DocumentsApplication" |
Jeff Sharkey | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 9 | android:label="@string/app_label" |
| 10 | android:supportsRtl="true"> |
| 11 | |
Jeff Sharkey | 9fb567b | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 12 | <!-- TODO: allow rotation when state saving is in better shape --> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 13 | <activity |
| 14 | android:name=".DocumentsActivity" |
Jeff Sharkey | 5545f56 | 2013-09-21 13:57:33 -0700 | [diff] [blame] | 15 | android:theme="@style/Theme" |
| 16 | android:icon="@drawable/ic_doc_text"> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 17 | <intent-filter android:priority="100"> |
| 18 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 19 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 54ca29a | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 20 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 21 | <data android:mimeType="*/*" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 22 | </intent-filter> |
| 23 | <intent-filter android:priority="100"> |
| 24 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 25 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 54ca29a | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 26 | <category android:name="android.intent.category.OPENABLE" /> |
| 27 | <data android:mimeType="*/*" /> |
| 28 | </intent-filter> |
| 29 | <intent-filter android:priority="100"> |
| 30 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 31 | <category android:name="android.intent.category.DEFAULT" /> |
| 32 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 33 | <data android:mimeType="*/*" /> |
| 34 | </intent-filter> |
Jeff Sharkey | a5599ef | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 35 | <intent-filter> |
Jeff Sharkey | a61dc8e | 2013-09-05 17:14:14 -0700 | [diff] [blame] | 36 | <action android:name="android.provider.action.MANAGE_ROOT" /> |
Jeff Sharkey | a5599ef | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 37 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | a61dc8e | 2013-09-05 17:14:14 -0700 | [diff] [blame] | 38 | <data android:mimeType="vnd.android.document/root" /> |
Jeff Sharkey | a5599ef | 2013-08-15 16:17:41 -0700 | [diff] [blame] | 39 | </intent-filter> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 40 | </activity> |
| 41 | |
Jeff Sharkey | 9fb567b | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 42 | <activity |
| 43 | android:name=".SettingsActivity" |
Jeff Sharkey | 88f322c | 2013-09-12 16:25:02 -0700 | [diff] [blame] | 44 | android:label="@string/menu_settings" |
Alan Viverette | 6259933 | 2014-04-01 14:57:39 -0700 | [diff] [blame] | 45 | android:theme="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge" |
Jeff Sharkey | 9fb567b | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 46 | android:exported="false" /> |
| 47 | |
Jeff Sharkey | 92d7e69 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 48 | <provider |
| 49 | android:name=".RecentsProvider" |
| 50 | android:authorities="com.android.documentsui.recents" |
| 51 | android:exported="false" /> |
| 52 | |
Jeff Sharkey | 758f97e | 2013-10-24 10:44:03 -0700 | [diff] [blame] | 53 | <receiver android:name=".PackageReceiver"> |
| 54 | <intent-filter> |
| 55 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 56 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 57 | <data android:scheme="package" /> |
| 58 | </intent-filter> |
| 59 | </receiver> |
| 60 | |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 61 | <!-- TODO: remove when we have real clients --> |
Jeff Sharkey | e6ddb92 | 2013-07-16 13:01:57 -0700 | [diff] [blame] | 62 | <activity android:name=".TestActivity" android:enabled="false"> |
Jeff Sharkey | 1482789 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.MAIN" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | <category android:name="android.intent.category.LAUNCHER" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 67 | </intent-filter> |
| 68 | </activity> |
| 69 | </application> |
| 70 | </manifest> |