| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | package="com.google.android.example.locktasktests" |
| 5 | android:versionCode="1" |
| 6 | android:versionName="1.0"> |
| 7 | |
| 8 | <uses-sdk android:minSdkVersion="22" |
| 9 | android:targetSdkVersion="22"/> |
| 10 | <uses-permission android:name="android.permission.INTERNET"/> |
| 11 | |
| 12 | <application android:icon="@drawable/ic_launcher" |
| 13 | android:label="@string/app_name" |
| 14 | android:theme="@style/AppTheme" |
| 15 | android:allowBackup="true"> |
| 16 | <activity android:name="com.google.android.example.locktasktests.MainActivity" |
| 17 | android:label="@string/app_name" |
| 18 | android:screenOrientation="portrait" |
| 19 | android:theme="@style/AppTheme" |
| 20 | android:exported="true"> |
| 21 | <intent-filter> |
| 22 | <action android:name="android.intent.action.MAIN"/> |
| 23 | <category android:name="android.intent.category.LAUNCHER"/> |
| 24 | </intent-filter> |
| 25 | </activity> |
| 26 | <activity android:name="com.google.android.example.locktasktests.LockDefaultActivity" |
| 27 | android:label="@string/title_activity_default" |
| 28 | android:taskAffinity="" |
| 29 | android:documentLaunchMode="always" |
| 30 | android:lockTaskMode="normal"> |
| 31 | </activity> |
| 32 | <activity android:name="com.google.android.example.locktasktests.LockTaskNeverActivity" |
| 33 | android:label="@string/title_activity_never" |
| 34 | android:taskAffinity="" |
| 35 | android:documentLaunchMode="always" |
| 36 | android:lockTaskMode="never"> |
| 37 | </activity> |
| 38 | <activity android:name="com.google.android.example.locktasktests.LockWhitelistedActivity" |
| 39 | android:label="@string/title_activity_whitelist" |
| 40 | android:taskAffinity="" |
| 41 | android:documentLaunchMode="always" |
| 42 | android:lockTaskMode="if_whitelisted"> |
| 43 | </activity> |
| 44 | <activity android:name="com.google.android.example.locktasktests.LockAtLaunchActivity" |
| 45 | android:label="@string/title_activity_always" |
| 46 | android:taskAffinity="" |
| 47 | android:documentLaunchMode="always" |
| 48 | android:lockTaskMode="always"> |
| 49 | </activity> |
| 50 | </application> |
| 51 | |
| 52 | </manifest> |