OSDN Git Service

Merge "CMFileManager: NL translation" into cm-11.0
[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="102"
20   android:versionName="1.0.2">
21
22   <original-package android:name="com.cyanogenmod.filemanager" />
23
24   <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19" />
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="com.android.launcher.permission.INSTALL_SHORTCUT" />
33   <uses-permission android:name="com.cyanogenmod.filemanager.permissions.READ_THEME"/>
34
35   <application
36     android:name="FileManagerApplication"
37     android:description="@string/app_description"
38     android:icon="@drawable/ic_launcher"
39     android:label="@string/app_name"
40     android:largeHeap="true"
41     android:theme="@style/FileManager.Theme.Holo.Light" >
42
43     <meta-data
44       android:name="android.app.default_searchable"
45       android:value=".activities.NavigationActivity" />
46
47     <provider
48       android:name=".providers.RecentSearchesContentProvider"
49       android:authorities="com.cyanogenmod.filemanager.providers.recentsearches"
50       android:exported="false" />
51
52     <provider
53       android:name=".providers.BookmarksContentProvider"
54       android:authorities="com.cyanogenmod.filemanager.providers.bookmarks"
55       android:exported="false" />
56
57     <activity
58       android:name=".activities.NavigationActivity"
59       android:label="@string/app_name"
60       android:launchMode="singleTop"
61       android:uiOptions="none"
62       android:windowSoftInputMode="adjustNothing"
63       android:configChanges="orientation|keyboardHidden|screenSize"
64       android:exported="true">
65       <intent-filter>
66         <action android:name="android.intent.action.MAIN" />
67         <category android:name="android.intent.category.LAUNCHER" />
68         <category android:name="android.intent.category.DEFAULT" />
69       </intent-filter>
70       <intent-filter>
71         <action android:name="android.intent.action.SEARCH" />
72         <category android:name="android.intent.category.DEFAULT" />
73       </intent-filter>
74       <meta-data
75         android:name="android.app.searchable"
76         android:resource="@xml/searchable" />
77     </activity>
78
79     <activity
80       android:name=".activities.BookmarksActivity"
81       android:label="@string/bookmarks"
82       android:uiOptions="none"
83       android:windowSoftInputMode="adjustNothing"
84       android:configChanges="orientation|keyboardHidden|screenSize"
85       android:exported="false">
86     </activity>
87
88     <activity
89       android:name=".activities.HistoryActivity"
90       android:label="@string/history"
91       android:uiOptions="none"
92       android:configChanges="orientation|keyboardHidden|screenSize"
93       android:windowSoftInputMode="adjustNothing"
94       android:exported="false">
95     </activity>
96
97     <activity
98       android:name=".activities.SearchActivity"
99       android:label="@string/search"
100       android:launchMode="singleTop"
101       android:uiOptions="none"
102       android:configChanges="orientation|keyboardHidden|screenSize"
103       android:windowSoftInputMode="adjustNothing"
104       android:exported="false">
105     </activity>
106
107     <activity
108       android:name=".activities.PickerActivity"
109       android:label="@string/picker"
110       android:uiOptions="none"
111       android:configChanges="orientation|keyboardHidden|screenSize"
112       android:theme="@style/FileManager.Theme.Holo.Light.Overlay"
113       android:exported="true">
114       <intent-filter>
115         <action android:name="android.intent.action.GET_CONTENT" />
116         <category android:name="android.intent.category.OPENABLE" />
117         <category android:name="android.intent.category.DEFAULT" />
118         <data android:mimeType="*/*" />
119       </intent-filter>
120       <intent-filter>
121         <action android:name="android.intent.action.PICK" />
122         <category android:name="android.intent.category.DEFAULT" />
123         <category android:name="android.intent.category.BROWSABLE" />
124         <data android:scheme="file" />
125         <data android:scheme="folder" />
126         <data android:scheme="directory" />
127       </intent-filter>
128     </activity>
129
130     <activity
131       android:name=".activities.preferences.SettingsPreferences"
132       android:label="@string/pref"
133       android:icon="@drawable/ic_launcher_settings"
134       android:exported="false">
135       <intent-filter>
136          <category android:name="android.intent.category.PREFERENCE" />
137       </intent-filter>
138     </activity>
139
140     <activity
141       android:name=".activities.ShortcutActivity"
142       android:label="@string/app_name"
143       android:uiOptions="none"
144       android:theme="@style/FileManager.Theme.Holo.Light.Overlay"
145       android:exported="true">
146       <intent-filter>
147         <action android:name="android.intent.action.VIEW" />
148       </intent-filter>
149     </activity>
150
151     <activity
152       android:name=".activities.ChangeLogActivity"
153       android:label="@string/app_name"
154       android:uiOptions="none"
155       android:theme="@style/FileManager.Theme.Holo.Light.Overlay"
156       android:exported="false">
157       <intent-filter>
158         <action android:name="android.intent.action.VIEW" />
159       </intent-filter>
160     </activity>
161
162     <activity
163       android:name=".activities.EditorActivity"
164       android:label="@string/editor"
165       android:configChanges="orientation|keyboardHidden|screenSize"
166       android:icon="@drawable/ic_launcher_editor">
167       <intent-filter>
168         <action android:name="android.intent.action.VIEW" />
169         <action android:name="android.intent.action.EDIT" />
170         <category android:name="android.intent.category.DEFAULT" />
171
172         <data android:scheme="file" />
173         <data android:mimeType="text/*" />
174         <data android:mimeType="application/javascript" />
175         <data android:mimeType="application/json" />
176         <data android:mimeType="application/xhtml+xml" />
177         <data android:mimeType="application/xml" />
178         <data android:mimeType="application/x-msdownload" />
179         <data android:mimeType="application/x-csh" />
180         <data android:mimeType="application/x-sh" />
181       </intent-filter>
182       <intent-filter>
183         <action android:name="android.intent.action.VIEW" />
184         <action android:name="android.intent.action.EDIT" />
185         <category android:name="android.intent.category.DEFAULT" />
186         <category android:name="com.cyanogenmod.filemanager.category.INTERNAL_VIEWER" />
187         <category android:name="com.cyanogenmod.filemanager.category.EDITOR" />
188       </intent-filter>
189     </activity>
190
191     <activity
192       android:name=".themes.ThemeActivity"
193       android:label="@string/app_name"
194       android:permission="com.cyanogenmod.filemanager.permissions.READ_THEME"
195       android:icon="@drawable/ic_launcher_themes"
196       android:exported="true">
197       <intent-filter>
198         <action android:name="com.cyanogenmod.filemanager.actions.MAIN_THEME" />
199         <category android:name="com.cyanogenmod.filemanager.categories.THEME" />
200       </intent-filter>
201     </activity>
202
203   </application>
204
205 </manifest>