• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.example.android.datawiper">
19
20    <uses-sdk android:minSdkVersion="16" />
21
22    <application
23        android:label="@string/app_name"
24        android:icon="@mipmap/logo_admin_bugfood_color_48dp">
25
26        <activity android:name="MyMain">
27            <intent-filter>
28                <action android:name="android.intent.action.MAIN" />
29                <category android:name="android.intent.category.DEFAULT" />
30                <category android:name="android.intent.category.LAUNCHER" />
31            </intent-filter>
32        </activity>
33        <receiver
34            android:name="MyAdmin"
35            android:permission="android.permission.BIND_DEVICE_ADMIN"
36            >
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>
45