2015-04-08 15:43:26 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.google.android.example.locktasktests"
|
|
|
|
android:versionCode="1"
|
|
|
|
android:versionName="1.0" >
|
|
|
|
|
|
|
|
<uses-sdk
|
|
|
|
android:minSdkVersion="22"
|
|
|
|
android:targetSdkVersion="22" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
|
|
|
|
<application
|
|
|
|
android:icon="@drawable/ic_launcher"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:theme="@style/AppTheme"
|
|
|
|
android:allowBackup="true" >
|
|
|
|
<activity
|
|
|
|
android:name="com.google.android.example.locktasktests.MainActivity"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:screenOrientation="portrait"
|
|
|
|
android:theme="@style/AppTheme" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name="com.google.android.example.locktasktests.LockDefaultActivity"
|
|
|
|
android:label="@string/title_activity_default"
|
|
|
|
android:taskAffinity=""
|
|
|
|
android:documentLaunchMode="always"
|
2015-04-28 16:21:06 -07:00
|
|
|
android:lockTaskMode="normal" >
|
2015-04-08 15:43:26 -07:00
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name="com.google.android.example.locktasktests.LockTaskNeverActivity"
|
|
|
|
android:label="@string/title_activity_never"
|
|
|
|
android:taskAffinity=""
|
|
|
|
android:documentLaunchMode="always"
|
2015-04-28 16:21:06 -07:00
|
|
|
android:lockTaskMode="never" >
|
2015-04-08 15:43:26 -07:00
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name="com.google.android.example.locktasktests.LockWhitelistedActivity"
|
|
|
|
android:label="@string/title_activity_whitelist"
|
|
|
|
android:taskAffinity=""
|
|
|
|
android:documentLaunchMode="always"
|
2015-04-28 16:21:06 -07:00
|
|
|
android:lockTaskMode="if_whitelisted" >
|
2015-04-08 15:43:26 -07:00
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name="com.google.android.example.locktasktests.LockAtLaunchActivity"
|
|
|
|
android:label="@string/title_activity_always"
|
|
|
|
android:taskAffinity=""
|
|
|
|
android:documentLaunchMode="always"
|
2015-04-28 16:21:06 -07:00
|
|
|
android:lockTaskMode="always" >
|
2015-04-08 15:43:26 -07:00
|
|
|
</activity>
|
|
|
|
</application>
|
|
|
|
|
|
|
|
</manifest>
|