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

Commit c8978f38 authored by Amy Zhang's avatar Amy Zhang
Browse files

Remove the ScanCallback API default implementation logs

Test: make -j44 dist
Bug: 171314689
Change-Id: I9a8cc0430555757242d9dd0060388209a8609053
parent 9614b2e8
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) {}
}