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

Commit 8e351a1c authored by Andrew Solovay's avatar Andrew Solovay Committed by android-build-merger
Browse files

Merge "docs: Clarified behavior of TypedArray.getBoolean()" into qt-dev am: de21a30c

am: c5f06a08

Change-Id: Ic61f305c81ebeaa0e4002c4f23007f2edacc6e4a
parents e224fb3f c5f06a08
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -360,8 +360,9 @@ public class TypedArray {
    /**
     * Retrieve the boolean value for the attribute at <var>index</var>.
     * <p>
     * If the attribute is an integer value, this method will return whether
     * it is equal to zero. If the attribute is not a boolean or integer value,
     * If the attribute is an integer value, this method returns false if the
     * attribute is equal to zero, and true otherwise.
     * If the attribute is not a boolean or integer value,
     * this method will attempt to coerce it to an integer using
     * {@link Integer#decode(String)} and return whether it is equal to zero.
     *