OSDN Git Service

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