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

Commit e22f7913 authored by Jan Nordqvist's avatar Jan Nordqvist
Browse files

Remove the overflow menu from the usage Appbar.

In Data Usage screen, Above the data bar, Remove the overflow
menu (3 dots on top right of the screen) from the Appbar.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I4e8a5e54b1e5c573496ff2a76a5a80da38650f2b
parent 767743d6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -127,14 +127,6 @@ public class DataUsageSummary extends DataUsageBaseFragment implements Indexable
        setHasOptionsMenu(true);
    }

    @Override
    public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
        if (UserManager.get(getContext()).isAdminUser()) {
            inflater.inflate(R.menu.data_usage, menu);
        }
        super.onCreateOptionsMenu(menu, inflater);
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {