@Implementation(minSdk = LOLLIPOP)
  protected void startLockTask() {
    Shadow.<ShadowActivityManager>extract(getActivityManager())
        .setLockTaskModeState(ActivityManager.LOCK_TASK_MODE_LOCKED);
  }
@Implementation(minSdk = LOLLIPOP)
  protected void startLockTask() {
    Shadow.<ShadowActivityManager>extract(getActivityManager())
        .setLockTaskModeState(ActivityManager.LOCK_TASK_MODE_LOCKED);
  }
@ Implementation ( minSdk = LOLLIPOP ) protected void startLockTask ( ) { Shadow . < ShadowActivityManager > extract ( getActivityManager ( ) ) . setLockTaskModeState ( ActivityManager . LOCK_TASK_MODE_LOCKED ) ; }
Starts a lock task.

<p>The status of the lock task can be verified using {@link #isLockTask} method. Otherwise this
implementation has no effect.
Starts a lock task .