Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0aeb3700 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

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
parent 1ad38e26
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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";
+4 −0
Original line number Diff line number Diff line
@@ -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 {