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

Commit 269b8bb0 authored by Adam Powell's avatar Adam Powell
Browse files

Fix a bug with closing action bar context modes

Change-Id: I4f11549664f11cdc02d135288e05459007dbf0c8
parent 1e06193c
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();