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

Commit a8c56ca4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Turn on Prox Logging for all debuggable builds." into sc-v2-dev am:...

Merge "Turn on Prox Logging for all debuggable builds." into sc-v2-dev am: 585e55f5 am: 67dab1cc

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

Change-Id: Icbf3800cc144bb2cc2249582b6ca9762acb0752a
parents 1cffbc75 67dab1cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.util.sensors;

import android.hardware.SensorManager;
import android.os.Build;
import android.util.Log;

import com.android.internal.annotations.VisibleForTesting;
@@ -56,7 +57,7 @@ import javax.inject.Inject;
 */
class ProximitySensorImpl implements ProximitySensor {
    private static final String TAG = "ProxSensor";
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG) || Build.IS_DEBUGGABLE;
    private static final long SECONDARY_PING_INTERVAL_MS = 5000;

    ThresholdSensor mPrimaryThresholdSensor;