OSDN Git Service

New Material icon
[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.WRITE_MEDIA_STORAGE" />
29   <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
30   <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
31   <uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>
32   <uses-permission android:name="android.permission.NFC"/>
33   <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
34   <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
35   <uses-permission android:name="com.cyanogenmod.filemanager.permissions.READ_THEME"/>
36
37   <application
38     android:name="FileManagerApplication"
39     android:description="@string/app_description"
40     android:icon="@mipmap/ic_launcher_filemanager"
41     android:label="@string/app_name"
42     android:largeHeap="true"
43     android:theme="@style/FileManager.Theme.Material.Light"
44     android:supportsRtl="true">
45
46     <meta-data
47       android:name="android.app.default_searchable"
48       android:value=".activities.NavigationActivity" />
49
50     <provider
51       android:name=".providers.RecentSearchesContentProvider"
52       android:authorities="com.cyanogenmod.filemanager.providers.recentsearches"
53       android:exported="false" />
54
55     <provider
56       android:name=".providers.BookmarksContentProvider"
57       android:authorities="com.cyanogenmod.filemanager.providers.bookmarks"
58       android:exported="false" />
59
60     <provider
61       android:name=".providers.SecureResourceProvider"
62       android:authorities="com.cyanogenmod.filemanager.providers.resources"
63       android:grantUriPermissions="true"
64       android:exported="true" />
65
66     <provider
67       android:authorities="com.cyanogenmod.filemanager.providers.index"
68       android:name=".providers.MimeTypeIndexProvider"/>
69
70     <service
71       android:name=".service.MimeTypeIndexService"
72       android:label="@string/app_name">
73       <intent-filter>
74         <action android:name="com.cyanogenmod.filemanager.ACTION_START_INDEX"/>
75       </intent-filter>
76     </service>
77
78     <activity
79       android:name=".activities.NavigationActivity"
80       android:label="@string/app_name"
81       android:launchMode="singleTop"
82       android:uiOptions="none"
83       android:theme="@style/FileManager.Theme.Material.Light.NoActionBar"
84       android:windowSoftInputMode="adjustNothing"
85       android:configChanges="orientation|keyboardHidden|screenSize"
86       android:exported="true">
87       <intent-filter>
88         <action android:name="android.intent.action.MAIN" />
89         <category android:name="android.intent.category.LAUNCHER" />
90         <category android:name="android.intent.category.DEFAULT" />
91       </intent-filter>
92       <intent-filter>
93         <action android:name="android.intent.action.SEARCH" />
94         <category android:name="android.intent.category.DEFAULT" />
95       </intent-filter>
96       <meta-data
97         android:name="android.app.searchable"
98         android:value=".activities.SearchActivity"
99         android:resource="@xml/searchable" />
100     </activity>
101
102     <activity
103       android:name=".activities.SearchActivity"
104       android:label="@string/search"
105       android:launchMode="singleTop"
106       android:uiOptions="none"
107       android:configChanges="orientation|keyboardHidden|screenSize"
108       android:windowSoftInputMode="adjustNothing"
109       android:exported="false">
110     </activity>
111
112     <activity
113       android:name=".activities.PickerActivity"
114       android:label="@string/picker"
115       android:uiOptions="none"
116       android:configChanges="orientation|keyboardHidden|screenSize"
117       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
118       android:exported="true">
119       <intent-filter>
120         <action android:name="android.intent.action.GET_CONTENT" />
121         <category android:name="android.intent.category.OPENABLE" />
122         <category android:name="android.intent.category.DEFAULT" />
123         <data android:mimeType="*/*" />
124       </intent-filter>
125       <intent-filter>
126         <action android:name="android.intent.action.PICK" />
127         <category android:name="android.intent.category.DEFAULT" />
128         <category android:name="android.intent.category.BROWSABLE" />
129         <data android:scheme="file" />
130         <data android:scheme="folder" />
131         <data android:scheme="directory" />
132       </intent-filter>
133       <intent-filter>
134         <action android:name="com.android.fileexplorer.action.DIR_SEL" />
135         <category android:name="android.intent.category.DEFAULT"/>
136       </intent-filter>
137     </activity>
138
139     <activity
140       android:name=".activities.preferences.SettingsPreferences"
141       android:label="@string/pref"
142       android:exported="false">
143       <intent-filter>
144          <category android:name="android.intent.category.PREFERENCE" />
145       </intent-filter>
146     </activity>
147
148     <activity
149       android:name=".activities.ShortcutActivity"
150       android:label="@string/app_name"
151       android:uiOptions="none"
152       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
153       android:exported="true">
154       <intent-filter>
155         <action android:name="android.intent.action.VIEW" />
156       </intent-filter>
157     </activity>
158
159     <activity
160       android:name=".activities.ChangeLogActivity"
161       android:label="@string/app_name"
162       android:uiOptions="none"
163       android:theme="@style/FileManager.Theme.Material.Light.Overlay"
164       android:exported="false">
165       <intent-filter>
166         <action android:name="android.intent.action.VIEW" />
167       </intent-filter>
168     </activity>
169
170     <activity
171       android:name=".activities.EditorActivity"
172       android:label="@string/editor"
173       android:configChanges="orientation|keyboardHidden|screenSize">
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
181         <data android:scheme="file" />
182         <data android:mimeType="text/*" />
183         <data android:mimeType="application/javascript" />
184         <data android:mimeType="application/json" />
185         <data android:mimeType="application/xhtml+xml" />
186         <data android:mimeType="application/xml" />
187         <data android:mimeType="application/x-msdownload" />
188         <data android:mimeType="application/x-csh" />
189         <data android:mimeType="application/x-sh" />
190       </intent-filter>
191       <intent-filter>
192         <action android:name="android.intent.action.VIEW" />
193         <action android:name="android.intent.action.EDIT" />
194         <category android:name="android.intent.category.DEFAULT" />
195         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
196         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
197       </intent-filter>
198     </activity>
199
200     <activity
201       android:name=".themes.ThemeActivity"
202       android:label="@string/app_name"
203       android:permission="com.cyanogenmod.filemanager.permissions.READ_THEME"
204       android:exported="true">
205       <intent-filter>
206         <action android:name="com.cyanogenmod.filemanager.actions.MAIN_THEME" />
207         <category android:name="com.cyanogenmod.filemanager.categories.THEME" />
208       </intent-filter>
209     </activity>
210
211     <activity
212       android:name=".console.secure.SecureStorageKeyPromptDialog$SecureStorageKeyPromptActivity"
213       android:label="@string/app_name"
214       android:uiOptions="none"
215       android:configChanges="orientation|keyboardHidden|screenSize"
216       android:theme="@android:style/Theme.Material.Light.Dialog"
217       android:exported="true">
218       <intent-filter>
219         <action android:name="android.intent.action.VIEW" />
220       </intent-filter>
221     </activity>
222
223   </application>
224
225 </manifest>