blob: 6b77a7ca695fc4ff909156cd3950d65e88dd77df [file] [log] [blame]
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07001<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 Sharkey7aa76012013-09-30 14:26:27 -07005 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07006
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -07007 <application
Jeff Sharkey4eb407a2013-08-18 17:38:20 -07008 android:name=".DocumentsApplication"
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -07009 android:label="@string/app_label"
10 android:supportsRtl="true">
11
Jeff Sharkey9fb567b2013-08-07 16:22:02 -070012 <!-- TODO: allow rotation when state saving is in better shape -->
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070013 <activity
14 android:name=".DocumentsActivity"
Jeff Sharkey5545f562013-09-21 13:57:33 -070015 android:theme="@style/Theme"
16 android:icon="@drawable/ic_doc_text">
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070017 <intent-filter android:priority="100">
18 <action android:name="android.intent.action.OPEN_DOCUMENT" />
19 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey54ca29a2013-08-15 11:24:03 -070020 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey14827892013-07-01 17:22:02 -070021 <data android:mimeType="*/*" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070022 </intent-filter>
23 <intent-filter android:priority="100">
24 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070025 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey54ca29a2013-08-15 11:24:03 -070026 <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 Sharkey14827892013-07-01 17:22:02 -070033 <data android:mimeType="*/*" />
34 </intent-filter>
Jeff Sharkeya5599ef2013-08-15 16:17:41 -070035 <intent-filter>
Jeff Sharkeya61dc8e2013-09-05 17:14:14 -070036 <action android:name="android.provider.action.MANAGE_ROOT" />
Jeff Sharkeya5599ef2013-08-15 16:17:41 -070037 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeya61dc8e2013-09-05 17:14:14 -070038 <data android:mimeType="vnd.android.document/root" />
Jeff Sharkeya5599ef2013-08-15 16:17:41 -070039 </intent-filter>
Jeff Sharkey14827892013-07-01 17:22:02 -070040 </activity>
41
Jeff Sharkey9fb567b2013-08-07 16:22:02 -070042 <activity
43 android:name=".SettingsActivity"
Jeff Sharkey88f322c2013-09-12 16:25:02 -070044 android:label="@string/menu_settings"
Alan Viverette62599332014-04-01 14:57:39 -070045 android:theme="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge"
Jeff Sharkey9fb567b2013-08-07 16:22:02 -070046 android:exported="false" />
47
Jeff Sharkey92d7e692013-08-02 10:33:21 -070048 <provider
49 android:name=".RecentsProvider"
50 android:authorities="com.android.documentsui.recents"
51 android:exported="false" />
52
Jeff Sharkey758f97e2013-10-24 10:44:03 -070053 <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 Sharkey14827892013-07-01 17:22:02 -070061 <!-- TODO: remove when we have real clients -->
Jeff Sharkeye6ddb922013-07-16 13:01:57 -070062 <activity android:name=".TestActivity" android:enabled="false">
Jeff Sharkey14827892013-07-01 17:22:02 -070063 <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 Sharkey9e0036e2013-04-26 16:54:55 -070067 </intent-filter>
68 </activity>
69 </application>
70</manifest>