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

Commit ad45461f authored by Amy Zhang's avatar Amy Zhang Committed by Android (Google) Code Review
Browse files

Merge "Remove the ScanCallback API default implementation logs"

parents ebf97e4b c8978f38
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package android.media.tv.tuner.frontend;
import android.annotation.IntRange;
import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.util.Log;

/**
 * Scan callback.
@@ -28,8 +27,6 @@ import android.util.Log;
 */
@SystemApi
public interface ScanCallback {
    /** @hide **/
    String TAG = "ScanCallback";

    /** Scan locked the signal. */
    void onLocked();
@@ -74,12 +71,8 @@ public interface ScanCallback {
    void onSignalTypeReported(@AnalogFrontendSettings.SignalType int signalType);

    /** Frontend modulation reported. */
    default void onModulationReported(@FrontendStatus.FrontendModulation int modulation) {
        Log.d(TAG, "Received modulation scan message");
    }
    default void onModulationReported(@FrontendStatus.FrontendModulation int modulation) {}

    /** Frontend scan message priority reported. */
    default void onPriorityReported(boolean isHighPriority) {
        Log.d(TAG, "Received priority scan message: isHighPriority=" + isHighPriority);
    }
    default void onPriorityReported(boolean isHighPriority) {}
}