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

Commit 0012afb7 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Update overflow menu color after members are loaded

Bug: 33838570

Test: manually verified overflow menu color is correct in selection
      mode and regular mode (and with rotation).

Change-Id: I050a5255bd055cdc24a1f41ad39a94d5372bf2aa
parent 860698b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -435,7 +435,7 @@ public class ActionBarAdapter implements OnCloseListener {
    /**
     * Find overflow menu ImageView by its content description and update its color.
     */
    private void updateOverflowButtonColor() {
    public void updateOverflowButtonColor() {
        final String overflowDescription = mActivity.getResources().getString(
                R.string.abc_action_menu_overflow_description);
        final ViewGroup decorView = (ViewGroup) mActivity.getWindow().getDecorView();
+1 −0
Original line number Diff line number Diff line
@@ -694,6 +694,7 @@ public class GroupMembersFragment extends MultiSelectContactsListFragment<GroupM
            super.onLoadFinished(loader, cursorWrapper);
            // Update state of menu items (e.g. "Remove contacts") based on number of group members.
            mActivity.invalidateOptionsMenu();
            mActionBarAdapter.updateOverflowButtonColor();
        }
    }