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 |
| 7 | android:label="@string/app_label" |
| 8 | android:supportsRtl="true"> |
| 9 | |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 10 | <!-- TODO: allow rotation when state saving is in better shape --> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 11 | <activity |
| 12 | android:name=".DocumentsActivity" |
| 13 | android:finishOnCloseSystemDialogs="true" |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 14 | android:excludeFromRecents="true" |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 15 | android:theme="@android:style/Theme.Holo.Light" |
| 16 | android:screenOrientation="nosensor"> |
Jeff Sharkey | e22d02e | 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 | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 20 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 21 | <data android:mimeType="*/*" /> |
Jeff Sharkey | e22d02e | 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 | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 25 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 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 | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 33 | <data android:mimeType="*/*" /> |
| 34 | </intent-filter> |
Jeff Sharkey | f339f25 | 2013-08-15 16:17:41 -0700 | [diff] [blame^] | 35 | <!-- data expected to point at existing root to manage --> |
| 36 | <intent-filter> |
| 37 | <action android:name="android.intent.action.MANAGE_DOCUMENT" /> |
| 38 | <category android:name="android.intent.category.DEFAULT" /> |
| 39 | <data android:mimeType="vnd.android.cursor.item/root" /> |
| 40 | </intent-filter> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 41 | </activity> |
| 42 | |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 43 | <activity |
| 44 | android:name=".SettingsActivity" |
| 45 | android:title="@string/menu_settings" |
| 46 | android:theme="@android:style/Theme.Holo.Light" |
| 47 | android:exported="false" /> |
| 48 | |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 49 | <provider |
| 50 | android:name=".RecentsProvider" |
| 51 | android:authorities="com.android.documentsui.recents" |
| 52 | android:exported="false" /> |
| 53 | |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 54 | <!-- TODO: remove when we have real clients --> |
Jeff Sharkey | ff5db1b | 2013-07-16 13:01:57 -0700 | [diff] [blame] | 55 | <activity android:name=".TestActivity" android:enabled="false"> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 56 | <intent-filter> |
| 57 | <action android:name="android.intent.action.MAIN" /> |
| 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | <category android:name="android.intent.category.LAUNCHER" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 60 | </intent-filter> |
| 61 | </activity> |
| 62 | </application> |
| 63 | </manifest> |