Deprecate TunerService
This class's implementation uses the main looper for communicating with Settings. As other classes may make use of this behavior, we don't remove it yet but deprecate it. Test: no test Bug: 290434369 Change-Id: I767b0369e6d8235423f116566b88abf58103a53c
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user