package org.strongswan.android.logic.imc.collectors;
+import java.util.Locale;
+
import org.strongswan.android.logic.imc.attributes.Attribute;
import org.strongswan.android.logic.imc.attributes.SettingsAttribute;
SettingsAttribute attribute = new SettingsAttribute();
for (String name : mSettings)
{
- String value = android.provider.Settings.Secure.getString(mContentResolver, name.toLowerCase());
+ String value = android.provider.Settings.Secure.getString(mContentResolver, name.toLowerCase(Locale.US));
if (value == null)
{
- value = android.provider.Settings.System.getString(mContentResolver, name.toLowerCase());
+ value = android.provider.Settings.System.getString(mContentResolver, name.toLowerCase(Locale.US));
}
if (value != null)
{