Merge "Deprecate TunerService" into udc-qpr-dev

This commit is contained in:
Fabian Kozynski
2023-07-19 16:40:57 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -20,6 +20,11 @@ import android.content.Intent;
import com.android.systemui.Dependency;
/**
* @deprecated Don't use this class to listen to Secure Settings. Use {@code SecureSettings} instead
* or {@code SettingsObserver} to be able to specify the handler.
*/
@Deprecated
public abstract class TunerService {
public static final String ACTION_CLEAR = "com.android.systemui.action.CLEAR_TUNER";

View File

@@ -56,7 +56,11 @@ import javax.inject.Inject;
/**
* @deprecated Don't use this class to listen to Secure Settings. Use {@code SecureSettings} instead
* or {@code SettingsObserver} to be able to specify the handler.
* This class will interact with SecureSettings using the main looper.
*/
@Deprecated
@SysUISingleton
public class TunerServiceImpl extends TunerService {