Loading go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java +1 −2 Original line number Diff line number Diff line Loading @@ -149,8 +149,7 @@ public final class TaskOverlayFactoryGo extends TaskOverlayFactory { // Disable Overview Actions for Work Profile apps boolean isManagedProfileTask = UserManager.get(mApplicationContext).isManagedProfile(task.key.userId); boolean isAllowedByPolicy = mTaskContainer.getThumbnailViewDeprecated().isRealSnapshot() && !isManagedProfileTask; boolean isAllowedByPolicy = isRealSnapshot() && !isManagedProfileTask; getActionsView().setCallbacks(new OverlayUICallbacksGoImpl(isAllowedByPolicy, task)); mTaskPackageName = task.key.getPackageName(); mSharedPreferences = LauncherPrefs.getPrefs(mApplicationContext); Loading Loading
go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java +1 −2 Original line number Diff line number Diff line Loading @@ -149,8 +149,7 @@ public final class TaskOverlayFactoryGo extends TaskOverlayFactory { // Disable Overview Actions for Work Profile apps boolean isManagedProfileTask = UserManager.get(mApplicationContext).isManagedProfile(task.key.userId); boolean isAllowedByPolicy = mTaskContainer.getThumbnailViewDeprecated().isRealSnapshot() && !isManagedProfileTask; boolean isAllowedByPolicy = isRealSnapshot() && !isManagedProfileTask; getActionsView().setCallbacks(new OverlayUICallbacksGoImpl(isAllowedByPolicy, task)); mTaskPackageName = task.key.getPackageName(); mSharedPreferences = LauncherPrefs.getPrefs(mApplicationContext); Loading