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

Commit a1fbe282 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Bring along the rest of the change too.

Change-Id: Ic1ca033e7f4003f7c7d10d3a47de00006f18fe02
parent 28b41a3b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -24,8 +24,10 @@ public class LocalPreferences {
    private static final String KEY_FILE_SIZE = "fileSize";

    public static boolean getDisplayAdvancedDevices(Context context) {
        boolean defaultAdvanced = context.getResources()
                .getBoolean(R.bool.config_defaultAdvancedDevices);
        return PreferenceManager.getDefaultSharedPreferences(context)
                .getBoolean(KEY_ADVANCED_DEVICES, false);
                .getBoolean(KEY_ADVANCED_DEVICES, defaultAdvanced);
    }

    public static boolean getDisplayFileSize(Context context) {