Loading media/java/android/media/tv/tuner/frontend/ScanCallback.java +2 −9 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -28,8 +27,6 @@ import android.util.Log; */ @SystemApi public interface ScanCallback { /** @hide **/ String TAG = "ScanCallback"; /** Scan locked the signal. */ void onLocked(); Loading Loading @@ -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) {} } Loading
media/java/android/media/tv/tuner/frontend/ScanCallback.java +2 −9 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -28,8 +27,6 @@ import android.util.Log; */ @SystemApi public interface ScanCallback { /** @hide **/ String TAG = "ScanCallback"; /** Scan locked the signal. */ void onLocked(); Loading Loading @@ -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) {} }