OSDN Git Service

CMFileManager: add usage stats by mime type
[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     <provider
66       android:authorities="com.cyanogenmod.filemanager.providers.index"
67       android:name=".providers.MimeTypeIndexProvider"/>
68
69     <service
70       android:name=".service.MimeTypeIndexService"
71       android:label="@string/app_name">
72       <intent-filter>
73         <action android:name="com.cyanogenmod.filemanager.ACTION_START_INDEX"/>
74       </intent-filter>
75     </service>
76
77     <activity
78       android:name=".activities.NavigationActivity"
79       android:label="@string/app_name"
80       android:launchMode="singleTop"
81       android:uiOptions="none"
82       android:theme="@style/FileManager.Theme.Material.Light.NoActionBar"
83       android:windowSoftInputMode="adjustNothing"
84       android:configChanges="orientation|keyboardHidden|screenSize"
85       android:exported="true">
86       <intent-filter>
87         <action android:name="android.intent.action.MAIN" />
88         <category android:name="android.intent.category.LAUNCHER" />
89         <category android:name="android.intent.category.DEFAULT" />
90       </intent-filter>
91       <intent-filter>
92         <action android:name="android.intent.action.SEARCH" />
93         <category android:name="android.intent.category.DEFAULT" />
94       </intent-filter>
95       <meta-data
96         android:name="android.app.searchable"
97         android:value=".activities.SearchActivity"
98         android:resource="@xml/searchable" />
99     </activity>
100
101     <activity
102       android:name=".activities.SearchActivity"
103       android:label="@string/search"
104       android:launchMode="singleTop"
105       android:uiOptions="none"
106       android:configChanges="orientation|keyboardHidden|screenSize"
107       android:windowSoftInputMode="adjustNothing"
108       android:exported="false">
109     </activity>
110
111     <activity
112       android:name=".activities.PickerActivity"
113       android:label="@string/picker"
114       android:uiOptions="none"
115       android:configChanges="orientation|keyboardHidden|screenSize"
116       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
117       android:exported="true">
118       <intent-filter>
119         <action android:name="android.intent.action.GET_CONTENT" />
120         <category android:name="android.intent.category.OPENABLE" />
121         <category android:name="android.intent.category.DEFAULT" />
122         <data android:mimeType="*/*" />
123       </intent-filter>
124       <intent-filter>
125         <action android:name="android.intent.action.PICK" />
126         <category android:name="android.intent.category.DEFAULT" />
127         <category android:name="android.intent.category.BROWSABLE" />
128         <data android:scheme="file" />
129         <data android:scheme="folder" />
130         <data android:scheme="directory" />
131       </intent-filter>
132     </activity>
133
134     <activity
135       android:name=".activities.preferences.SettingsPreferences"
136       android:label="@string/pref"
137       android:exported="false">
138       <intent-filter>
139          <category android:name="android.intent.category.PREFERENCE" />
140       </intent-filter>
141     </activity>
142
143     <activity
144       android:name=".activities.ShortcutActivity"
145       android:label="@string/app_name"
146       android:uiOptions="none"
147       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
148       android:exported="true">
149       <intent-filter>
150         <action android:name="android.intent.action.VIEW" />
151       </intent-filter>
152     </activity>
153
154     <activity
155       android:name=".activities.ChangeLogActivity"
156       android:label="@string/app_name"
157       android:uiOptions="none"
158       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
159       android:exported="false">
160       <intent-filter>
161         <action android:name="android.intent.action.VIEW" />
162       </intent-filter>
163     </activity>
164
165     <activity
166       android:name=".activities.EditorActivity"
167       android:label="@string/editor"
168       android:configChanges="orientation|keyboardHidden|screenSize">
169       <intent-filter>
170         <action android:name="android.intent.action.VIEW" />
171         <action android:name="android.intent.action.EDIT" />
172         <category android:name="android.intent.category.DEFAULT" />
173         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
174         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
175
176         <data android:scheme="file" />
177         <data android:mimeType="text/*" />
178         <data android:mimeType="application/javascript" />
179         <data android:mimeType="application/json" />
180         <data android:mimeType="application/xhtml+xml" />
181         <data android:mimeType="application/xml" />
182         <data android:mimeType="application/x-msdownload" />
183         <data android:mimeType="application/x-csh" />
184         <data android:mimeType="application/x-sh" />
185       </intent-filter>
186       <intent-filter>
187         <action android:name="android.intent.action.VIEW" />
188         <action android:name="android.intent.action.EDIT" />
189         <category android:name="android.intent.category.DEFAULT" />
190         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
191         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
192       </intent-filter>
193     </activity>
194
195     <activity
196       android:name=".themes.ThemeActivity"
197       android:label="@string/app_name"
198       android:permission="com.cyanogenmod.filemanager.permissions.READ_THEME"
199       android:exported="true">
200       <intent-filter>
201         <action android:name="com.cyanogenmod.filemanager.actions.MAIN_THEME" />
202         <category android:name="com.cyanogenmod.filemanager.categories.THEME" />
203       </intent-filter>
204     </activity>
205
206     <activity
207       android:name=".console.secure.SecureStorageKeyPromptDialog$SecureStorageKeyPromptActivity"
208       android:label="@string/app_name"
209       android:uiOptions="none"
210       android:configChanges="orientation|keyboardHidden|screenSize"
211       android:theme="@android:style/Theme.Material.Light.Dialog"
212       android:exported="true">
213       <intent-filter>
214         <action android:name="android.intent.action.VIEW" />
215       </intent-filter>
216     </activity>
217
218   </application>
219
220 </manifest>