Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a260df9 authored by Greg Kaiser's avatar Greg Kaiser Committed by Android (Google) Code Review
Browse files

Merge "Fixes unflagged usage of deprecated TTV" into main

parents 5628ce97 29019222
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);