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

Commit c7f58bea authored by Joshua Baxter's avatar Joshua Baxter Committed by android-build-merger
Browse files

Merge "docs: fix code example" into qt-dev am: 330701c1 am: e53e500e am: ce02f1c4

am: f23b8ced

Change-Id: I0291d6504e64e29aff8a20ec5b9a09df8c092ad0
parents c9443622 f23b8ced
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -23,9 +23,8 @@ import android.os.SystemProperties;
/**
 * A structure describing general information about a display, such as its
 * size, density, and font scaling.
 * <p>To access the DisplayMetrics members, initialize an object like this:</p>
 * <pre> DisplayMetrics metrics = new DisplayMetrics();
 * getWindowManager().getDefaultDisplay().getMetrics(metrics);</pre>
 * <p>To access the DisplayMetrics members, retrieve display metrics like this:</p>
 * <pre>context.getResources().getDisplayMetrics();</pre>
 */
public class DisplayMetrics {
    /**