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

Commit a3a769af authored by Winson's avatar Winson Committed by Winson Chung
Browse files

Fixing regression in button clickability.

Bug: 29548227
Change-Id: I01fb29423133a0445de27fb69ce9ced02e31dc90
parent 5e00c7ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1553,7 +1553,7 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
        bindTaskView(tv, task);

        // If the doze trigger has already fired, then update the state for this task view
        if (mUIDozeTrigger.isAsleep()) {
        if (mUIDozeTrigger.isAsleep() || Recents.getSystemServices().hasFreeformWorkspaceSupport()) {
            tv.setNoUserInteractionState();
        }

+0 −3
Original line number Diff line number Diff line
@@ -216,9 +216,6 @@ 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);