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

Commit 8015e74e authored by Nick Chalko's avatar Nick Chalko
Browse files

Cleanup formating of Constants

Test: m -j services.core
Change-Id: Ibaae6b5f8c50469b8a2d0dfa1fa4eaa840df64e5
parent c27346fa
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -20,9 +20,8 @@ import android.annotation.IntDef;
import android.hardware.hdmi.HdmiDeviceInfo;

/**
 * Defines constants related to HDMI-CEC protocol internal implementation.
 * If a constant will be used in the public api, it should be located in
 * {@link android.hardware.hdmi.HdmiControlManager}.
 * Defines constants related to HDMI-CEC protocol internal implementation. If a constant will be
 * used in the public api, it should be located in {@link android.hardware.hdmi.HdmiControlManager}.
 */
final class Constants {

@@ -209,6 +208,7 @@ final class Constants {
        NEVER_SYSTEM_AUDIO_CONTROL_ON_POWER_ON
    })
    @interface SystemAudioControlOnPowerOn {}

    static final int ALWAYS_SYSTEM_AUDIO_CONTROL_ON_POWER_ON = 0;
    static final int USE_LAST_STATE_SYSTEM_AUDIO_CONTROL_ON_POWER_ON = 1;
    static final int NEVER_SYSTEM_AUDIO_CONTROL_ON_POWER_ON = 2;
@@ -237,8 +237,8 @@ final class Constants {
    // TODO(UI): Set this from UI to decide if turn on System Audio Mode when power on the device
    /**
     * Property to decide if turn on the system audio control when power on the device.
     * Default is always turn on.
     * State must be a valid {@link SystemAudioControlOnPowerOn} int.
     *
     * <p>Default is always turn on. State must be a valid {@link SystemAudioControlOnPowerOn} int.
     */
    static final String PROPERTY_SYSTEM_AUDIO_CONTROL_ON_POWER_ON =
            "persist.sys.hdmi.system_audio_control_on_power_on";
@@ -293,5 +293,7 @@ final class Constants {
    static final int DISABLED = 0;
    static final int ENABLED = 1;

    private Constants() { /* cannot be instantiated */ }
    private Constants() {
        /* cannot be instantiated */
    }
}