OSDN Git Service

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