Home | History | Annotate | Download | only in DocumentsUI
      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     <uses-permission android:name="android.permission.REMOVE_TASKS" />
      6 
      7     <application
      8         android:name=".DocumentsApplication"
      9         android:label="@string/app_label"
     10         android:supportsRtl="true">
     11 
     12         <!-- TODO: allow rotation when state saving is in better shape -->
     13         <activity
     14             android:name=".DocumentsActivity"
     15             android:theme="@style/Theme"
     16             android:icon="@drawable/ic_doc_text">
     17             <intent-filter android:priority="100">
     18                 <action android:name="android.intent.action.OPEN_DOCUMENT" />
     19                 <category android:name="android.intent.category.DEFAULT" />
     20                 <category android:name="android.intent.category.OPENABLE" />
     21                 <data android:mimeType="*/*" />
     22             </intent-filter>
     23             <intent-filter android:priority="100">
     24                 <action android:name="android.intent.action.CREATE_DOCUMENT" />
     25                 <category android:name="android.intent.category.DEFAULT" />
     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" />
     33                 <data android:mimeType="*/*" />
     34             </intent-filter>
     35             <intent-filter>
     36                 <action android:name="android.provider.action.MANAGE_ROOT" />
     37                 <category android:name="android.intent.category.DEFAULT" />
     38                 <data android:mimeType="vnd.android.document/root" />
     39             </intent-filter>
     40         </activity>
     41 
     42         <activity
     43             android:name=".SettingsActivity"
     44             android:label="@string/menu_settings"
     45             android:theme="@android:style/Theme.Holo.Light.DialogWhenLarge"
     46             android:exported="false" />
     47 
     48         <provider
     49             android:name=".RecentsProvider"
     50             android:authorities="com.android.documentsui.recents"
     51             android:exported="false" />
     52 
     53         <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 
     61         <!-- TODO: remove when we have real clients -->
     62         <activity android:name=".TestActivity" android:enabled="false">
     63             <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" />
     67             </intent-filter>
     68         </activity>
     69     </application>
     70 </manifest>
     71