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

Commit 585e55f5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 328b8f6c d3bcbcb7
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;