public static void markLocationNotRequired(final Context context) {
        final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);
        preferences.edit().putBoolean(PREFS_LOCATION_NOT_REQUIRED, false).apply();
    }
When a Bluetooth LE packet is received while Location is disabled it means that Location
is not required on this device in order to scan for LE devices. This is a case of Samsung phones, for example.
Save this information for the future to keep the Location info hidden.

@param context the context
app/src/main/java/no/nordicsemi/android/nrfmesh/utils/Utils.java