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

Commit d1520aa1 authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Clarify doc comment for android.os.Build.VERSION.RELEASE

The RELEASE field has no guaranteed internal structure and developers
should not attempt to parse it.

Test: no code changes
Change-Id: I0ea3ab5ba5dd4cc733feb62725cf7c62c00c857b
parent 454b1e37
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -188,7 +188,11 @@ public class Build {
        public static final String INCREMENTAL = getString("ro.build.version.incremental");

        /**
         * The user-visible version string.  E.g., "1.0" or "3.4b5".
         * The user-visible version string.  E.g., "1.0" or "3.4b5" or "bananas".
         *
         * This field is an opaque string. Do not assume that its value
         * has any particular structure or that values of RELEASE from
         * different releases can be somehow ordered.
         */
        public static final String RELEASE = getString("ro.build.version.release");