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

Commit d61a19e5 authored by Winson Chung's avatar Winson Chung
Browse files

Ensure that the action views are always updated.

- Fixes issue where a disable action was never re-enabled.

Bug: 37786353
Test: Launch YT, ensure that all actions work after skipping video.
Change-Id: I4be0c70034a3fed6ffb7625a159c906761312fb7
parent 34488242
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -460,8 +460,8 @@ public class PipMenuActivity extends Activity {
                        });
                    } else {
                        actionView.setAlpha(DISABLED_ACTION_ALPHA);
                        actionView.setEnabled(false);
                    }
                    actionView.setEnabled(action.isEnabled());

                    // Update the margin between actions
                    LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)