Loading packages/SystemUI/AndroidManifest.xml +0 −1 Original line number Diff line number Diff line Loading @@ -500,7 +500,6 @@ android:label="@string/accessibility_desc_work_lock" android:permission="android.permission.MANAGE_USERS" android:exported="false" android:launchMode="singleTop" android:excludeFromRecents="true" android:stateNotNeeded="true" android:resumeWhilePausing="true" Loading packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivityController.java +2 −3 Original line number Diff line number Diff line Loading @@ -42,9 +42,8 @@ public class WorkLockActivityController { Intent intent = new Intent(KeyguardManager.ACTION_CONFIRM_DEVICE_CREDENTIAL_WITH_USER) .setComponent(new ComponentName(mContext, WorkLockActivity.class)) .putExtra(Intent.EXTRA_USER_ID, userId) .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP); .addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_CLEAR_TOP); final ActivityOptions options = ActivityOptions.makeBasic(); options.setLaunchTaskId(taskId); Loading Loading
packages/SystemUI/AndroidManifest.xml +0 −1 Original line number Diff line number Diff line Loading @@ -500,7 +500,6 @@ android:label="@string/accessibility_desc_work_lock" android:permission="android.permission.MANAGE_USERS" android:exported="false" android:launchMode="singleTop" android:excludeFromRecents="true" android:stateNotNeeded="true" android:resumeWhilePausing="true" Loading
packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivityController.java +2 −3 Original line number Diff line number Diff line Loading @@ -42,9 +42,8 @@ public class WorkLockActivityController { Intent intent = new Intent(KeyguardManager.ACTION_CONFIRM_DEVICE_CREDENTIAL_WITH_USER) .setComponent(new ComponentName(mContext, WorkLockActivity.class)) .putExtra(Intent.EXTRA_USER_ID, userId) .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP); .addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_CLEAR_TOP); final ActivityOptions options = ActivityOptions.makeBasic(); options.setLaunchTaskId(taskId); Loading