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

Commit 5dbfcb28 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Fix javadoc for TYPE_INT_BOOLEAN

In practice, the only guarantee is that the value is zero if, and only
if, the represented boolean is false.

Bug: b/205124386
Flag: DOCS_ONLY
Test: Presubmit
Change-Id: I6cf12449597b048e6feebf803d291b88966a6233
parent 06fe6813
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -65,10 +65,11 @@ public class TypedValue {
    /** The <var>data</var> field holds a number that was
     *  originally specified in hexadecimal (0xn). */
    public static final int TYPE_INT_HEX = 0x11;
    /** The <var>data</var> field holds 0 or 1 that was originally
     *  specified as "false" or "true". */
    /**
     * {@link #data} holds 0 to represent {@code false}, or a value different from 0 to represent
     * {@code true}.
     */
    public static final int TYPE_INT_BOOLEAN = 0x12;

    /** Identifies the start of integer values that were specified as
     *  color constants (starting with '#'). */
    public static final int TYPE_FIRST_COLOR_INT = 0x1c;