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

Commit df8a44ec authored by Alexandre Elias's avatar Alexandre Elias Committed by Android (Google) Code Review
Browse files

Merge "Update DisplayMetrics.densityDpi Javadoc to refer to all DENSITY_ constants"

parents 45bfa360 80c0dee0
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -275,8 +275,12 @@ public class DisplayMetrics {
     */
     */
    public float density;
    public float density;
    /**
    /**
     * The screen density expressed as dots-per-inch.  May be either
     * The screen density expressed as dots-per-inch. May be any one of the
     * {@link #DENSITY_LOW}, {@link #DENSITY_MEDIUM}, or {@link #DENSITY_HIGH}.
     * {@code DENSITY_} constants defined above.
     *
     * New constants are frequently added, and constants added on new Android
     * versions may be backported to previous Android versions, so applications
     * should not strongly rely on density matching one of the enum constants.
     */
     */
    public int densityDpi;
    public int densityDpi;
    /**
    /**