blob: 1ef7bff3e210b63888fc93543ebb3b7757d8a659 [file] [log] [blame]
Jeff Sharkeye22d02e2013-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" />
5
Jeff Sharkey2e694f82013-08-06 16:26:14 -07006 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -07007 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -07008 android:label="@string/app_label"
9 android:supportsRtl="true">
10
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070011 <!-- TODO: allow rotation when state saving is in better shape -->
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070012 <activity
13 android:name=".DocumentsActivity"
Jeff Sharkey7d58fc62013-09-12 16:25:02 -070014 android:theme="@style/Theme">
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070015 <intent-filter android:priority="100">
16 <action android:name="android.intent.action.OPEN_DOCUMENT" />
17 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070018 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070019 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070020 </intent-filter>
21 <intent-filter android:priority="100">
22 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070023 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070024 <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 Sharkey3c28b792013-07-01 17:22:02 -070031 <data android:mimeType="*/*" />
32 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070033 <intent-filter>
Jeff Sharkey91a101c2013-09-05 17:14:14 -070034 <action android:name="android.provider.action.MANAGE_ROOT" />
Jeff Sharkeyf339f252013-08-15 16:17:41 -070035 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey91a101c2013-09-05 17:14:14 -070036 <data android:mimeType="vnd.android.document/root" />
Jeff Sharkeyf339f252013-08-15 16:17:41 -070037 </intent-filter>
Jeff Sharkey3c28b792013-07-01 17:22:02 -070038 </activity>
39
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070040 <activity
41 android:name=".SettingsActivity"
Jeff Sharkey7d58fc62013-09-12 16:25:02 -070042 android:label="@string/menu_settings"
43 android:theme="@android:style/Theme.Holo.Light.DialogWhenLarge"
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070044 android:exported="false" />
45
Jeff Sharkey50d35622013-08-02 10:33:21 -070046 <provider
47 android:name=".RecentsProvider"
48 android:authorities="com.android.documentsui.recents"
49 android:exported="false" />
50
Jeff Sharkey873daa32013-08-18 17:38:20 -070051 <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 Sharkey3c28b792013-07-01 17:22:02 -070059 <!-- TODO: remove when we have real clients -->
Jeff Sharkeyff5db1b2013-07-16 13:01:57 -070060 <activity android:name=".TestActivity" android:enabled="false">
Jeff Sharkey3c28b792013-07-01 17:22:02 -070061 <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 Sharkeye22d02e2013-04-26 16:54:55 -070065 </intent-filter>
66 </activity>
67 </application>
68</manifest>