Merge "Remove the ScanCallback API default implementation logs"
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user