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

Commit 2ed7c47e authored by Winson's avatar Winson Committed by Winson Chung
Browse files

Disabling fading icons when freeform mode is enabled.

Bug: 28398344
Change-Id: If0c38c10153f490a7443ce36b0a5d17bb685b1a8
parent 8930555a
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);