Add settings to show file sizes and advanced storage devices, both disabled by default. Add sorting by size when enabled in settings. Always show all documents, but only allow selection when they match MIME filter. When creating, select entire filename on focus. When creating, treat selected documents as replacement targets using that exact Uri unless display name is changed. Show available bytes for device roots. Show empty text label in empty directories. Split grid backend and details into two separate lines. Fix path label ordering when rendering recent directories. Change-Id: I44c62e8adb8ca7d4355510a13d1ba975196a2d29
50 lines
2.0 KiB
XML
50 lines
2.0 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.documentsui">
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
|
|
|
<application
|
|
android:label="@string/app_label"
|
|
android:supportsRtl="true">
|
|
|
|
<!-- TODO: allow rotation when state saving is in better shape -->
|
|
<activity
|
|
android:name=".DocumentsActivity"
|
|
android:finishOnCloseSystemDialogs="true"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@android:style/Theme.Holo.Light"
|
|
android:screenOrientation="nosensor">
|
|
<intent-filter android:priority="100">
|
|
<action android:name="android.intent.action.OPEN_DOCUMENT" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
<intent-filter android:priority="100">
|
|
<action android:name="android.intent.action.CREATE_DOCUMENT" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".SettingsActivity"
|
|
android:title="@string/menu_settings"
|
|
android:theme="@android:style/Theme.Holo.Light"
|
|
android:exported="false" />
|
|
|
|
<provider
|
|
android:name=".RecentsProvider"
|
|
android:authorities="com.android.documentsui.recents"
|
|
android:exported="false" />
|
|
|
|
<!-- TODO: remove when we have real clients -->
|
|
<activity android:name=".TestActivity" android:enabled="false">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|