blob: e349c9248263742a903aa00fa58a4882ef59fdd8 [file] [log] [blame]
Craig Mautner2ad0bb42015-04-08 15:43:26 -07001<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.google.android.example.locktasktests"
4 android:versionCode="1"
5 android:versionName="1.0" >
6
7 <uses-sdk
8 android:minSdkVersion="22"
9 android:targetSdkVersion="22" />
10 <uses-permission android:name="android.permission.INTERNET"/>
11
12 <application
13 android:icon="@drawable/ic_launcher"
14 android:label="@string/app_name"
15 android:theme="@style/AppTheme"
16 android:allowBackup="true" >
17 <activity
18 android:name="com.google.android.example.locktasktests.MainActivity"
19 android:label="@string/app_name"
20 android:screenOrientation="portrait"
21 android:theme="@style/AppTheme" >
22 <intent-filter>
23 <action android:name="android.intent.action.MAIN" />
24 <category android:name="android.intent.category.LAUNCHER" />
25 </intent-filter>
26 </activity>
27 <activity
28 android:name="com.google.android.example.locktasktests.LockDefaultActivity"
29 android:label="@string/title_activity_default"
30 android:taskAffinity=""
31 android:documentLaunchMode="always"
Craig Mautner61e1e092015-04-28 16:21:06 -070032 android:lockTaskMode="normal" >
Craig Mautner2ad0bb42015-04-08 15:43:26 -070033 </activity>
34 <activity
35 android:name="com.google.android.example.locktasktests.LockTaskNeverActivity"
36 android:label="@string/title_activity_never"
37 android:taskAffinity=""
38 android:documentLaunchMode="always"
Craig Mautner61e1e092015-04-28 16:21:06 -070039 android:lockTaskMode="never" >
Craig Mautner2ad0bb42015-04-08 15:43:26 -070040 </activity>
41 <activity
42 android:name="com.google.android.example.locktasktests.LockWhitelistedActivity"
43 android:label="@string/title_activity_whitelist"
44 android:taskAffinity=""
45 android:documentLaunchMode="always"
Craig Mautner61e1e092015-04-28 16:21:06 -070046 android:lockTaskMode="if_whitelisted" >
Craig Mautner2ad0bb42015-04-08 15:43:26 -070047 </activity>
48 <activity
49 android:name="com.google.android.example.locktasktests.LockAtLaunchActivity"
50 android:label="@string/title_activity_always"
51 android:taskAffinity=""
52 android:documentLaunchMode="always"
Craig Mautner61e1e092015-04-28 16:21:06 -070053 android:lockTaskMode="always" >
Craig Mautner2ad0bb42015-04-08 15:43:26 -070054 </activity>
55 </application>
56
57</manifest>