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