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 Original line Diff line number Diff line
@@ -19,7 +19,6 @@ package android.media.tv.tuner.frontend;
import android.annotation.IntRange;
import android.annotation.IntRange;
import android.annotation.NonNull;
import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.annotation.SystemApi;
import android.util.Log;


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


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


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


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