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

Commit 9cc47e14 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Settings : fix force close in monkey test"

parents 2209d9ec 9b5f5e3a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -134,6 +134,10 @@ public class DataUsageSummary extends DataUsageBase implements Indexable {
    public void onPrepareOptionsMenu(Menu menu) {
        final Context context = getActivity();
        final MenuItem networkaccess = menu.findItem(R.id.data_usage_menu_app_network_access);
        if (networkaccess == null) {
            return;
        }

        if (context.getResources().getBoolean(R.bool.config_app_network_access_enabled)) {
            networkaccess.setVisible(true);
        } else {