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

Commit 1ec7e754 authored by Simon Bowden's avatar Simon Bowden
Browse files

Fix value and IntDef for FLAG_INVALIDATE_SETTINGS_CACHE.

The previous value was not bit-aligned.

Test: presubmit
Bug: 242030287
Change-Id: I88bb62f2cec4d4b4bb619d04165638d23be8e2e2
parent da7e89fd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -145,7 +145,8 @@ public final class VibrationAttributes implements Parcelable {
     */
    @IntDef(prefix = { "FLAG_" }, flag = true, value = {
            FLAG_BYPASS_INTERRUPTION_POLICY,
            FLAG_BYPASS_USER_VIBRATION_INTENSITY_OFF
            FLAG_BYPASS_USER_VIBRATION_INTENSITY_OFF,
            FLAG_INVALIDATE_SETTINGS_CACHE
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface Flag{}
@@ -182,7 +183,7 @@ public final class VibrationAttributes implements Parcelable {
     *
     * @hide
     */
    public static final int FLAG_INVALIDATE_SETTINGS_CACHE = 0x3;
    public static final int FLAG_INVALIDATE_SETTINGS_CACHE = 0x4;

    /**
     * All flags supported by vibrator service, update it when adding new flag.