Trevor Johns | 77b5d39 | 2015-03-30 16:06:43 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright 2015 The Android Open Source Project |
| 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 | <manifest |
| 18 | package="com.example.android.deviceowner" |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:versionCode="1" |
| 21 | android:versionName="1.0"> |
| 22 | |
| 23 | <application |
| 24 | android:allowBackup="true" |
| 25 | android:icon="@drawable/ic_launcher" |
| 26 | android:label="@string/app_name" |
| 27 | android:theme="@style/AppTheme"> |
| 28 | |
| 29 | <activity |
| 30 | android:name=".MainActivity" |
| 31 | android:label="@string/app_name"> |
| 32 | <intent-filter> |
| 33 | <action android:name="android.intent.action.MAIN"/> |
| 34 | <category android:name="android.intent.category.LAUNCHER"/> |
| 35 | </intent-filter> |
| 36 | </activity> |
| 37 | |
| 38 | <receiver |
| 39 | android:name=".DeviceOwnerReceiver" |
| 40 | android:description="@string/app_name" |
| 41 | android:label="@string/app_name" |
| 42 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 43 | <meta-data |
| 44 | android:name="android.app.device_admin" |
| 45 | android:resource="@xml/device_owner_receiver"/> |
| 46 | <intent-filter> |
| 47 | <action android:name="android.app.action.PROFILE_PROVISIONING_COMPLETE"/> |
| 48 | </intent-filter> |
| 49 | </receiver> |
| 50 | |
| 51 | </application> |
| 52 | |
| 53 | |
| 54 | </manifest> |