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

Commit 7d6bddc9 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

More readable Configuration#toString() output.

Change-Id: I761cba019d7c09c79db59b705dbd3390c62c94e2
parent e3f84a57
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);