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

Commit f5176922 authored by Adam Powell's avatar Adam Powell
Browse files

Use INVISIBLE instead of GONE to hide KG transport buttons

Maintain a stable/predictable button layout when a remote control
client shows or hides specific transport control buttons.

Bug 11195246

Change-Id: I0e745150127c5e354ed2752c379e05ea8e0bd33d
parent d38b1302
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -511,7 +511,7 @@ public class KeyguardTransportControlView extends FrameLayout {
        if ((flags & flag) != 0) {
            view.setVisibility(View.VISIBLE);
        } else {
            view.setVisibility(View.GONE);
            view.setVisibility(View.INVISIBLE);
        }
    }