Craig Mautner | 2ad0bb4 | 2015-04-08 15:43:26 -0700 | [diff] [blame] | 1 | <?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 Mautner | 61e1e09 | 2015-04-28 16:21:06 -0700 | [diff] [blame] | 32 | android:lockTaskMode="normal" > |
Craig Mautner | 2ad0bb4 | 2015-04-08 15:43:26 -0700 | [diff] [blame] | 33 | </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 Mautner | 61e1e09 | 2015-04-28 16:21:06 -0700 | [diff] [blame] | 39 | android:lockTaskMode="never" > |
Craig Mautner | 2ad0bb4 | 2015-04-08 15:43:26 -0700 | [diff] [blame] | 40 | </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 Mautner | 61e1e09 | 2015-04-28 16:21:06 -0700 | [diff] [blame] | 46 | android:lockTaskMode="if_whitelisted" > |
Craig Mautner | 2ad0bb4 | 2015-04-08 15:43:26 -0700 | [diff] [blame] | 47 | </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 Mautner | 61e1e09 | 2015-04-28 16:21:06 -0700 | [diff] [blame] | 53 | android:lockTaskMode="always" > |
Craig Mautner | 2ad0bb4 | 2015-04-08 15:43:26 -0700 | [diff] [blame] | 54 | </activity> |
| 55 | </application> |
| 56 | |
| 57 | </manifest> |