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

Commit 9da377b4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disabling fading icons when freeform mode is enabled."

parents e63bd873 2ed7c47e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1955,7 +1955,9 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
                @Override
                public void run() {
                    // Start the dozer to trigger to trigger any UI that shows after a timeout
                    if (!Recents.getSystemServices().hasFreeformWorkspaceSupport()) {
                        mUIDozeTrigger.startDozing();
                    }

                    // Update the focused state here -- since we only set the focused task without
                    // requesting view focus in onFirstLayout(), actually request view focus and
+6 −1
Original line number Diff line number Diff line
@@ -194,7 +194,9 @@ public class TaskView extends FixedSizeFrameLayout implements Task.TaskCallbacks
     * Called from RecentsActivity when it is relaunched.
     */
    void onReload(boolean isResumingFromVisible) {
        if (!Recents.getSystemServices().hasFreeformWorkspaceSupport()) {
            resetNoUserInteractionState();
        }
        if (!isResumingFromVisible) {
            resetViewProperties();
        }
@@ -214,6 +216,9 @@ public class TaskView extends FixedSizeFrameLayout implements Task.TaskCallbacks
    protected void onFinishInflate() {
        // Bind the views
        mHeaderView = (TaskViewHeader) findViewById(R.id.task_view_bar);
        if (Recents.getSystemServices().hasFreeformWorkspaceSupport()) {
            mHeaderView.setNoUserInteractionState();
        }
        mThumbnailView = (TaskViewThumbnail) findViewById(R.id.task_view_thumbnail);
        mThumbnailView.updateClipToTaskBar(mHeaderView);
        mActionButtonView = findViewById(R.id.lock_to_app_fab);