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

Commit c3610078 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused eligibility flag for Perceptible Tasks" into main

parents d451e45b f86e8a05
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -22,7 +22,4 @@
<resources>
    <!-- Whether to add padding at the bottom of the complication clock -->
    <bool name="dream_overlay_complication_clock_bottom_padding">false</bool>

    <!-- Whether to mark tasks that are present in the UI as perceptible tasks. -->
    <bool name="config_usePerceptibleTasks">false</bool>
</resources>
+0 −10
Original line number Diff line number Diff line
@@ -46,8 +46,6 @@ import android.view.Display;
import android.window.TaskSnapshot;

import com.android.internal.app.IVoiceInteractionManagerService;
import com.android.server.am.Flags;
import com.android.systemui.shared.R;
import com.android.systemui.shared.recents.model.Task;
import com.android.systemui.shared.recents.model.ThumbnailData;

@@ -323,14 +321,6 @@ public class ActivityManagerWrapper {
                || freeformDevOption);
    }

    /**
     * Returns true if tasks with a presence in the UI should be marked as perceptible tasks.
     */
    public static boolean usePerceptibleTasks(Context context) {
        return Flags.perceptibleTasks()
                && context.getResources().getBoolean(R.bool.config_usePerceptibleTasks);
    }

    /**
     * Returns true if the running task represents the home task
     */