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

Commit 5e3e3936 authored by yingleiw's avatar yingleiw
Browse files

Fix RangeInfo RANGE_TYPE_PERCENT javadoc

When use RANGE_TYPE_PERCENT, the min, max, current have values from 0 to
100. Talkback uses this definition, and
java/com/google/android/accessibility/switchaccess/ui/VolumeSlider.java
also uses this definition, so it is better to change the javadoc.

Test: not needed for javadoc change
Change-Id: I895f1f045d7a3978104a7948a5964a33de15f1bd
parent 6081a0e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5105,7 +5105,7 @@ public class AccessibilityNodeInfo implements Parcelable {
        public static final int RANGE_TYPE_INT = 0;
        /** Range type: float. */
        public static final int RANGE_TYPE_FLOAT = 1;
        /** Range type: percent with values from zero to one.*/
        /** Range type: percent with values from zero to one hundred. */
        public static final int RANGE_TYPE_PERCENT = 2;

        private static final SynchronizedPool<RangeInfo> sPool =