Remove preferences multi process min sdk check

This commit is contained in:
Dominik Schürmann 2015-03-05 15:12:59 +01:00
parent 1576a76ecc
commit 8b7684baf7

View File

@ -59,12 +59,8 @@ public class Preferences {
}
public void updateSharedPreferences(Context context) {
// multi-process preferences
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
// multi-process safe preferences
mSharedPreferences = context.getSharedPreferences("APG.main", Context.MODE_MULTI_PROCESS);
} else {
mSharedPreferences = context.getSharedPreferences("APG.main", Context.MODE_PRIVATE);
}
}
public String getLanguage() {