1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3Copyright 2017 The Android Open Source Project 4 5Licensed under the Apache License, Version 2.0 (the "License"); 6you may not use this file except in compliance with the License. 7You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11Unless required by applicable law or agreed to in writing, software 12distributed under the License is distributed on an "AS IS" BASIS, 13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14See the License for the specific language governing permissions and 15limitations under the License. 16--> 17 18<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.example.android.jobscheduler"> 20 21 <uses-permission android:name="android.permission.INTERNET" /> 22 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 23 24 <application 25 android:allowBackup="false" 26 android:icon="@drawable/ic_launcher" 27 android:label="@string/app_name" 28 android:theme="@style/AppTheme" > 29 <activity 30 android:name=".MainActivity" 31 android:label="@string/app_name" 32 android:windowSoftInputMode="stateHidden" > 33 <intent-filter> 34 <action android:name="android.intent.action.MAIN" /> 35 <category android:name="android.intent.category.LAUNCHER" /> 36 </intent-filter> 37 </activity> 38 39 <service 40 android:name=".MyJobService" 41 android:permission="android.permission.BIND_JOB_SERVICE" 42 android:exported="true"/> 43 </application> 44 45</manifest> 46