Makoto Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 1 | <?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 Onuki | 8c445e5 | 2017-05-30 16:37:49 -0700 | [diff] [blame] | 20 | <uses-sdk android:minSdkVersion="25" android:targetSdkVersion="26" /> |
Makoto Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 21 | |
Makoto Onuki | 8d2a8f0 | 2016-08-08 13:21:47 -0700 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.INTERNET" /> |
| 23 | |
Makoto Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 24 | <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 Onuki | 64ef7bc | 2017-01-20 12:16:30 -0800 | [diff] [blame] | 35 | <intent-filter> |
| 36 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 37 | </intent-filter> |
Makoto Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 38 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/> |
| 39 | </activity> |
Makoto Onuki | d865a3c | 2016-12-06 11:17:22 -0800 | [diff] [blame] | 40 | <receiver android:name="MyReceiver" |
| 41 | android:exported="false"> |
Makoto Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 42 | <intent-filter> |
| 43 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
| 44 | </intent-filter> |
Makoto Onuki | 8c445e5 | 2017-05-30 16:37:49 -0700 | [diff] [blame] | 45 | <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 Onuki | 8e1f716 | 2016-07-22 15:05:37 -0700 | [diff] [blame] | 51 | </receiver> |
| 52 | </application> |
| 53 | </manifest> |