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

Commit 6cc7cccf authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Supress menu if screen ought to be hidden.

Bug: 14081992
Change-Id: I56183413a001b3e6dd74de249e9afc131e6671e4
parent cd88c2f7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -133,8 +133,10 @@ public class ApnSettings extends SettingsPreferenceFragment implements
        mMobileStateFilter = new IntentFilter(
                TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED);

        if (!mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) {
            setHasOptionsMenu(true);
        }
    }

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {