1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+
3+ <!-- Copyright (C) 2011 Xiaomi Inc.
4+
5+ Licensed under the Apache License, Version 2.0 (the "License");
6+ you may not use this file except in compliance with the License.
7+ You may obtain a copy of the License at
8+
9+ http://www.apache.org/licenses/LICENSE-2.0
10+
11+ Unless required by applicable law or agreed to in writing, software
12+ distributed under the License is distributed on an "AS IS" BASIS,
13+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ See the License for the specific language governing permissions and
15+ limitations under the License.
16+ -->
17+
18+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
19+ package =" net.micode.notes" >
20+
21+ <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
22+ <uses-permission android : name =" com.android.launcher.permission.INSTALL_SHORTCUT" />
23+ <uses-permission android : name =" android.permission.INTERNET" />
24+ <uses-permission android : name =" android.permission.READ_CONTACTS" />
25+ <uses-permission android : name =" android.permission.MANAGE_ACCOUNTS" />
26+ <uses-permission android : name =" android.permission.AUTHENTICATE_ACCOUNTS" />
27+ <uses-permission android : name =" android.permission.GET_ACCOUNTS" />
28+ <uses-permission android : name =" android.permission.USE_CREDENTIALS" />
29+
30+ <application
31+ android : icon =" @drawable/icon_app"
32+ android : label =" @string/app_name" >
33+ <activity
34+ android : name =" .ui.NotesListActivity"
35+ android : configChanges =" keyboardHidden|orientation|screenSize"
36+ android : label =" @string/app_name"
37+ android : launchMode =" singleTop"
38+ android : theme =" @style/NoteTheme"
39+ android : uiOptions =" splitActionBarWhenNarrow"
40+ android : windowSoftInputMode =" adjustPan" >
41+
42+ <intent-filter >
43+ <action android : name =" android.intent.action.MAIN" />
44+ <category android : name =" android.intent.category.LAUNCHER" />
45+ </intent-filter >
46+ </activity >
47+
48+ <activity
49+ android : name =" .ui.NoteEditActivity"
50+ android : configChanges =" keyboardHidden|orientation"
51+ android : launchMode =" singleTop"
52+ android : theme =" @style/NoteTheme" >
53+
54+ <intent-filter >
55+ <action android : name =" android.intent.action.VIEW" />
56+ <category android : name =" android.intent.category.DEFAULT" />
57+ <data android : mimeType =" vnd.android.cursor.item/text_note" />
58+ <data android : mimeType =" vnd.android.cursor.item/call_note" />
59+ </intent-filter >
60+
61+ <intent-filter >
62+ <action android : name =" android.intent.action.INSERT_OR_EDIT" />
63+ <category android : name =" android.intent.category.DEFAULT" />
64+ <data android : mimeType =" vnd.android.cursor.item/text_note" />
65+ <data android : mimeType =" vnd.android.cursor.item/call_note" />
66+ </intent-filter >
67+
68+ <intent-filter >
69+ <action android : name =" android.intent.action.SEARCH" />
70+ <category android : name =" android.intent.category.DEFAULT" />
71+ </intent-filter >
72+
73+ <meta-data
74+ android : name =" android.app.searchable"
75+ android : resource =" @xml/searchable" />
76+ </activity >
77+
78+ <provider
79+ android : name =" net.micode.notes.data.NotesProvider"
80+ android : authorities =" notes"
81+ android : multiprocess =" true" />
82+
83+ <receiver
84+ android : name =" .widget.NoteWidgetProvider_2x"
85+ android : label =" @string/app_widget2x2" >
86+ <intent-filter >
87+ <action android : name =" android.appwidget.action.APPWIDGET_UPDATE" />
88+ <action android : name =" android.appwidget.action.APPWIDGET_DELETED" />
89+ <action android : name =" android.intent.action.PRIVACY_MODE_CHANGED" />
90+ </intent-filter >
91+
92+ <meta-data
93+ android : name =" android.appwidget.provider"
94+ android : resource =" @xml/widget_2x_info" />
95+ </receiver >
96+ <receiver
97+ android : name =" .widget.NoteWidgetProvider_4x"
98+ android : label =" @string/app_widget4x4" >
99+
100+ <intent-filter >
101+ <action android : name =" android.appwidget.action.APPWIDGET_UPDATE" />
102+ <action android : name =" android.appwidget.action.APPWIDGET_DELETED" />
103+ <action android : name =" android.intent.action.PRIVACY_MODE_CHANGED" />
104+ </intent-filter >
105+
106+ <meta-data
107+ android : name =" android.appwidget.provider"
108+ android : resource =" @xml/widget_4x_info" />
109+ </receiver >
110+
111+ <receiver android : name =" .ui.AlarmInitReceiver" >
112+ <intent-filter >
113+ <action android : name =" android.intent.action.BOOT_COMPLETED" />
114+ </intent-filter >
115+ </receiver >
116+
117+ <receiver
118+ android : name =" net.micode.notes.ui.AlarmReceiver"
119+ android : process =" :remote" >
120+ </receiver >
121+
122+ <activity
123+ android : name =" .ui.AlarmAlertActivity"
124+ android : label =" @string/app_name"
125+ android : launchMode =" singleInstance"
126+ android : theme =" @android:style/Theme.Wallpaper.NoTitleBar" >
127+ </activity >
128+
129+ <activity
130+ android : name =" net.micode.notes.ui.NotesPreferenceActivity"
131+ android : label =" @string/preferences_title"
132+ android : launchMode =" singleTop"
133+ android : theme =" @android:style/Theme.Light" >
134+ </activity >
135+
136+ <service
137+ android : name =" net.micode.notes.gtask.remote.GTaskSyncService"
138+ android : exported =" false" >
139+ </service >
140+
141+ <meta-data
142+ android : name =" android.app.default_searchable"
143+ android : value =" .ui.NoteEditActivity" />
144+ </application >
145+ </manifest >
0 commit comments