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

Commit 98e39046 authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Prox's DelayableExecutor needs to be on the main thread" into sc-v2-dev...

Merge "Prox's DelayableExecutor needs to be on the main thread" into sc-v2-dev am: 03a0c20f am: f871947c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16008460

Change-Id: I72169603f8cf033429f37d8c69cc84190b829f5f
parents 7dd0a24d f871947c
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -18,8 +18,7 @@ package com.android.systemui.util.sensors;

import android.util.Log;

import androidx.annotation.NonNull;

import com.android.systemui.dagger.qualifiers.Main;
import com.android.systemui.statusbar.policy.DevicePostureController;
import com.android.systemui.util.concurrency.DelayableExecutor;
import com.android.systemui.util.concurrency.Execution;
@@ -42,9 +41,9 @@ class PostureDependentProximitySensor extends ProximitySensorImpl {
    PostureDependentProximitySensor(
            @PrimaryProxSensor ThresholdSensor[] postureToPrimaryProxSensorMap,
            @SecondaryProxSensor ThresholdSensor[] postureToSecondaryProxSensorMap,
            @NonNull DelayableExecutor delayableExecutor,
            @NonNull Execution execution,
            @NonNull DevicePostureController devicePostureController
            @Main DelayableExecutor delayableExecutor,
            Execution execution,
            DevicePostureController devicePostureController
    ) {
        super(
                postureToPrimaryProxSensorMap[0],