blob: ebf4b3479ca81db5cf3475f25d285de38d03f0f2 [file] [log] [blame]
Makoto Onuki8e1f7162016-07-22 15:05:37 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source 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.example.android.shortcutsample">
19
Makoto Onuki8c445e52017-05-30 16:37:49 -070020 <uses-sdk android:minSdkVersion="25" android:targetSdkVersion="26" />
Makoto Onuki8e1f7162016-07-22 15:05:37 -070021
Makoto Onuki8d2a8f02016-08-08 13:21:47 -070022 <uses-permission android:name="android.permission.INTERNET" />
23
Makoto Onuki8e1f7162016-07-22 15:05:37 -070024 <application
25 android:label="@string/app_name"
26 android:icon="@drawable/app"
27 android:resizeableActivity="true">
28
29 <activity android:name="Main">
30 <intent-filter>
31 <action android:name="android.intent.action.MAIN" />
32 <category android:name="android.intent.category.DEFAULT" />
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
Makoto Onuki64ef7bc2017-01-20 12:16:30 -080035 <intent-filter>
36 <action android:name="android.intent.action.CREATE_SHORTCUT" />
37 </intent-filter>
Makoto Onuki8e1f7162016-07-22 15:05:37 -070038 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
39 </activity>
Makoto Onukid865a3c2016-12-06 11:17:22 -080040 <receiver android:name="MyReceiver"
41 android:exported="false">
Makoto Onuki8e1f7162016-07-22 15:05:37 -070042 <intent-filter>
43 <action android:name="android.intent.action.LOCALE_CHANGED" />
44 </intent-filter>
Makoto Onuki8c445e52017-05-30 16:37:49 -070045 <intent-filter>
46 <action android:name="android.intent.action.BOOT_COMPLETED" />
47 </intent-filter>
48 <intent-filter>
49 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
50 </intent-filter>
Makoto Onuki8e1f7162016-07-22 15:05:37 -070051 </receiver>
52 </application>
53</manifest>