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

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

Fix bug 3237638 - make it easy to change a "refresh" AB button/icon

into the indeterminate progress icon

This fixes a bug that caused ActionViews to not be updated properly
after a pass through invalidateOptionsMenu/onPrepareOptionsMenu. Apps
can now set/clear action views to display progress spinner widgets or
anything else on demand.

Change-Id: I138eceb504177c6bb5b86d40a68a82973aa841a5
parent da6f9295
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -690,6 +690,7 @@ public final class MenuItemImpl implements MenuItem {

    public MenuItem setActionView(View view) {
        mActionView = view;
        mMenu.onItemActionRequestChanged(this);
        return this;
    }