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

Commit f20d6cf1 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug with closing action bar context modes"

parents 19a25c1b 269b8bb0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -140,12 +140,12 @@ public class ActionBarContextView extends ViewGroup {
            mCloseButton = new ImageButton(getContext());
            mCloseButton.setImageDrawable(mCloseDrawable);
            mCloseButton.setBackgroundDrawable(null);
        }
        mCloseButton.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                mode.finish();
            }
        });
        }
        addView(mCloseButton);

        final MenuBuilder menu = (MenuBuilder) mode.getMenu();