Fred Chung | b9c12ba | 2011-11-22 22:59:55 -0800 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (C) 2011 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.training.deviceadmin" |
| 19 | android:versionCode="1" |
| 20 | android:versionName="1.0"> |
| 21 | |
| 22 | <uses-sdk android:minSdkVersion="8" |
| 23 | android:targetSdkVersion="14" /> |
| 24 | |
| 25 | <application android:label="@string/app_name"> |
| 26 | <activity android:name=".PolicySetupActivity" android:label="@string/app_name"> |
| 27 | <intent-filter> |
| 28 | <action android:name="android.intent.action.MAIN" /> |
| 29 | <category android:name="android.intent.category.LAUNCHER" /> |
| 30 | </intent-filter> |
| 31 | </activity> |
| 32 | <activity android:name="com.example.training.deviceadmin.SecureActivity" |
| 33 | android:label="@string/app_name"/> |
| 34 | <receiver android:name="com.example.training.deviceadmin.Policy$PolicyAdmin" |
| 35 | android:label="@string/app_policy_admin_name" |
| 36 | android:permission="android.permission.BIND_DEVICE_ADMIN"> |
| 37 | <meta-data android:name="android.app.device_admin" |
| 38 | android:resource="@xml/device_admin" /> |
| 39 | <intent-filter> |
| 40 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 41 | </intent-filter> |
| 42 | </receiver> |
| 43 | </application> |
| 44 | </manifest> |