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