mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-12 12:05:10 -05:00
Remove preferences multi process min sdk check
This commit is contained in:
parent
1576a76ecc
commit
8b7684baf7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user