1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2017 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<!-- 18The content of this file should be equivalent to the main manifest file, except for allowBackup. 19--> 20 21<manifest xmlns:android="http://schemas.android.com/apk/res/android" 22 package="com.example.android.shortcutsample"> 23 24 <uses-sdk android:minSdkVersion="25" android:targetSdkVersion="26" /> 25 26 <uses-permission android:name="android.permission.INTERNET" /> 27 28 <application 29 android:label="@string/app_name" 30 android:icon="@drawable/app" 31 android:resizeableActivity="true" 32 android:allowBackup="false"> 33 34 <activity android:name="Main"> 35 <intent-filter> 36 <action android:name="android.intent.action.MAIN" /> 37 <category android:name="android.intent.category.DEFAULT" /> 38 <category android:name="android.intent.category.LAUNCHER" /> 39 </intent-filter> 40 <intent-filter> 41 <action android:name="android.intent.action.CREATE_SHORTCUT" /> 42 </intent-filter> 43 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/> 44 </activity> 45 <receiver android:name="MyReceiver" 46 android:exported="false"> 47 <intent-filter> 48 <action android:name="android.intent.action.LOCALE_CHANGED" /> 49 </intent-filter> 50 <intent-filter> 51 <action android:name="android.intent.action.BOOT_COMPLETED" /> 52 </intent-filter> 53 <intent-filter> 54 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> 55 </intent-filter> 56 </receiver> 57 </application> 58</manifest> 59