OSDN Git Service

CMFileManager: Allow for sorting by mime type in search.
[android-x86/packages-apps-CMFileManager.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2012 The CyanogenMod Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15  -->
16
17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
18   package="com.cyanogenmod.filemanager"
19   android:versionCode="104"
20   android:versionName="3.0.0">
21
22   <original-package android:name="com.cyanogenmod.filemanager" />
23
24   <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
25
26   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
27   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
28   <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
29   <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
30   <uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>
31   <uses-permission android:name="android.permission.NFC"/>
32   <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
33   <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
34   <uses-permission android:name="com.cyanogenmod.filemanager.permissions.READ_THEME"/>
35
36   <application
37     android:name="FileManagerApplication"
38     android:description="@string/app_description"
39     android:icon="@drawable/ic_launcher"
40     android:label="@string/app_name"
41     android:largeHeap="true"
42     android:theme="@style/FileManager.Theme.Material.Light"
43     android:supportsRtl="true">
44
45     <meta-data
46       android:name="android.app.default_searchable"
47       android:value=".activities.NavigationActivity" />
48
49     <provider
50       android:name=".providers.RecentSearchesContentProvider"
51       android:authorities="com.cyanogenmod.filemanager.providers.recentsearches"
52       android:exported="false" />
53
54     <provider
55       android:name=".providers.BookmarksContentProvider"
56       android:authorities="com.cyanogenmod.filemanager.providers.bookmarks"
57       android:exported="false" />
58
59     <provider
60       android:name=".providers.SecureResourceProvider"
61       android:authorities="com.cyanogenmod.filemanager.providers.resources"
62       android:grantUriPermissions="true"
63       android:exported="true" />
64
65     <activity
66       android:name=".activities.NavigationActivity"
67       android:label="@string/app_name"
68       android:launchMode="singleTop"
69       android:uiOptions="none"
70       android:theme="@style/FileManager.Theme.Material.Light.NoActionBar"
71       android:windowSoftInputMode="adjustNothing"
72       android:configChanges="orientation|keyboardHidden|screenSize"
73       android:exported="true">
74       <intent-filter>
75         <action android:name="android.intent.action.MAIN" />
76         <category android:name="android.intent.category.LAUNCHER" />
77         <category android:name="android.intent.category.DEFAULT" />
78       </intent-filter>
79       <intent-filter>
80         <action android:name="android.intent.action.SEARCH" />
81         <category android:name="android.intent.category.DEFAULT" />
82       </intent-filter>
83       <meta-data
84         android:name="android.app.searchable"
85         android:value=".activities.SearchActivity"
86         android:resource="@xml/searchable" />
87     </activity>
88
89     <activity
90       android:name=".activities.SearchActivity"
91       android:label="@string/search"
92       android:launchMode="singleTop"
93       android:uiOptions="none"
94       android:configChanges="orientation|keyboardHidden|screenSize"
95       android:windowSoftInputMode="adjustNothing"
96       android:exported="false">
97     </activity>
98
99     <activity
100       android:name=".activities.PickerActivity"
101       android:label="@string/picker"
102       android:uiOptions="none"
103       android:configChanges="orientation|keyboardHidden|screenSize"
104       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
105       android:exported="true">
106       <intent-filter>
107         <action android:name="android.intent.action.GET_CONTENT" />
108         <category android:name="android.intent.category.OPENABLE" />
109         <category android:name="android.intent.category.DEFAULT" />
110         <data android:mimeType="*/*" />
111       </intent-filter>
112       <intent-filter>
113         <action android:name="android.intent.action.PICK" />
114         <category android:name="android.intent.category.DEFAULT" />
115         <category android:name="android.intent.category.BROWSABLE" />
116         <data android:scheme="file" />
117         <data android:scheme="folder" />
118         <data android:scheme="directory" />
119       </intent-filter>
120     </activity>
121
122     <activity
123       android:name=".activities.preferences.SettingsPreferences"
124       android:label="@string/pref"
125       android:exported="false">
126       <intent-filter>
127          <category android:name="android.intent.category.PREFERENCE" />
128       </intent-filter>
129     </activity>
130
131     <activity
132       android:name=".activities.ShortcutActivity"
133       android:label="@string/app_name"
134       android:uiOptions="none"
135       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
136       android:exported="true">
137       <intent-filter>
138         <action android:name="android.intent.action.VIEW" />
139       </intent-filter>
140     </activity>
141
142     <activity
143       android:name=".activities.ChangeLogActivity"
144       android:label="@string/app_name"
145       android:uiOptions="none"
146       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
147       android:exported="false">
148       <intent-filter>
149         <action android:name="android.intent.action.VIEW" />
150       </intent-filter>
151     </activity>
152
153     <activity
154       android:name=".activities.EditorActivity"
155       android:label="@string/editor"
156       android:configChanges="orientation|keyboardHidden|screenSize">
157       <intent-filter>
158         <action android:name="android.intent.action.VIEW" />
159         <action android:name="android.intent.action.EDIT" />
160         <category android:name="android.intent.category.DEFAULT" />
161         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
162         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
163
164         <data android:scheme="file" />
165         <data android:mimeType="text/*" />
166         <data android:mimeType="application/javascript" />
167         <data android:mimeType="application/json" />
168         <data android:mimeType="application/xhtml+xml" />
169         <data android:mimeType="application/xml" />
170         <data android:mimeType="application/x-msdownload" />
171         <data android:mimeType="application/x-csh" />
172         <data android:mimeType="application/x-sh" />
173       </intent-filter>
174       <intent-filter>
175         <action android:name="android.intent.action.VIEW" />
176         <action android:name="android.intent.action.EDIT" />
177         <category android:name="android.intent.category.DEFAULT" />
178         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
179         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
180       </intent-filter>
181     </activity>
182
183     <activity
184       android:name=".themes.ThemeActivity"
185       android:label="@string/app_name"
186       android:permission="com.cyanogenmod.filemanager.permissions.READ_THEME"
187       android:exported="true">
188       <intent-filter>
189         <action android:name="com.cyanogenmod.filemanager.actions.MAIN_THEME" />
190         <category android:name="com.cyanogenmod.filemanager.categories.THEME" />
191       </intent-filter>
192     </activity>
193
194     <activity
195       android:name=".console.secure.SecureStorageKeyPromptDialog$SecureStorageKeyPromptActivity"
196       android:label="@string/app_name"
197       android:uiOptions="none"
198       android:configChanges="orientation|keyboardHidden|screenSize"
199       android:theme="@android:style/Theme.Material.Light.Dialog"
200       android:exported="true">
201       <intent-filter>
202         <action android:name="android.intent.action.VIEW" />
203       </intent-filter>
204     </activity>
205
206   </application>
207
208 </manifest>