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

Commit 84383376 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "More readable Configuration#toString() output."

parents 025b6ec3 7d6bddc9
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -266,11 +266,18 @@ public final class Configuration implements Parcelable, Comparable<Configuration
        sb.append("/");
        sb.append(navigationHidden);
        sb.append(" orien=");
        switch(orientation) {
            case ORIENTATION_LANDSCAPE:
                sb.append("L"); break;
            case ORIENTATION_PORTRAIT:
                sb.append("P"); break;
            default:
                sb.append(orientation);
        sb.append(" layout=");
        sb.append(screenLayout);
        sb.append(" uiMode=");
        sb.append(uiMode);
        }
        sb.append(" layout=0x");
        sb.append(java.lang.Integer.toHexString(screenLayout));
        sb.append(" uiMode=0x");
        sb.append(java.lang.Integer.toHexString(uiMode));
        if (seq != 0) {
            sb.append(" seq=");
            sb.append(seq);