2013-04-26 16:54:55 -07:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.android.documentsui">
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
|
|
|
|
2013-08-06 16:26:14 -07:00
|
|
|
<application
|
2013-08-18 17:38:20 -07:00
|
|
|
android:name=".DocumentsApplication"
|
2013-08-06 16:26:14 -07:00
|
|
|
android:label="@string/app_label"
|
|
|
|
android:supportsRtl="true">
|
|
|
|
|
2013-08-07 16:22:02 -07:00
|
|
|
<!-- TODO: allow rotation when state saving is in better shape -->
|
2013-04-26 16:54:55 -07:00
|
|
|
<activity
|
|
|
|
android:name=".DocumentsActivity"
|
2013-09-01 18:41:04 -07:00
|
|
|
android:theme="@android:style/Theme.Holo.Light">
|
2013-04-26 16:54:55 -07:00
|
|
|
<intent-filter android:priority="100">
|
|
|
|
<action android:name="android.intent.action.OPEN_DOCUMENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-08-15 11:24:03 -07:00
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
2013-07-01 17:22:02 -07:00
|
|
|
<data android:mimeType="*/*" />
|
2013-04-26 16:54:55 -07:00
|
|
|
</intent-filter>
|
|
|
|
<intent-filter android:priority="100">
|
|
|
|
<action android:name="android.intent.action.CREATE_DOCUMENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-08-15 11:24:03 -07:00
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
|
|
|
<data android:mimeType="*/*" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter android:priority="100">
|
|
|
|
<action android:name="android.intent.action.GET_CONTENT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.OPENABLE" />
|
2013-07-01 17:22:02 -07:00
|
|
|
<data android:mimeType="*/*" />
|
|
|
|
</intent-filter>
|
2013-08-15 16:17:41 -07:00
|
|
|
<!-- data expected to point at existing root to manage -->
|
|
|
|
<intent-filter>
|
2013-08-27 18:26:48 -07:00
|
|
|
<action android:name="android.provider.action.MANAGE_DOCUMENTS" />
|
2013-08-15 16:17:41 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-09-01 18:41:04 -07:00
|
|
|
<data android:mimeType="vnd.android.document/directory" />
|
2013-08-15 16:17:41 -07:00
|
|
|
</intent-filter>
|
2013-07-01 17:22:02 -07:00
|
|
|
</activity>
|
|
|
|
|
2013-08-07 16:22:02 -07:00
|
|
|
<activity
|
|
|
|
android:name=".SettingsActivity"
|
|
|
|
android:title="@string/menu_settings"
|
|
|
|
android:theme="@android:style/Theme.Holo.Light"
|
|
|
|
android:exported="false" />
|
|
|
|
|
2013-08-02 10:33:21 -07:00
|
|
|
<provider
|
|
|
|
android:name=".RecentsProvider"
|
|
|
|
android:authorities="com.android.documentsui.recents"
|
|
|
|
android:exported="false" />
|
|
|
|
|
2013-08-18 17:38:20 -07:00
|
|
|
<receiver android:name=".DocumentChangedReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.provider.action.DOCUMENT_CHANGED" />
|
|
|
|
<data android:mimeType="vnd.android.cursor.dir/root" />
|
|
|
|
<data android:mimeType="vnd.android.cursor.item/root" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2013-07-01 17:22:02 -07:00
|
|
|
<!-- TODO: remove when we have real clients -->
|
2013-07-16 13:01:57 -07:00
|
|
|
<activity android:name=".TestActivity" android:enabled="false">
|
2013-07-01 17:22:02 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
2013-04-26 16:54:55 -07:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
</application>
|
|
|
|
</manifest>
|