mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-13 20:35: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) {
|
public void updateSharedPreferences(Context context) {
|
||||||
// multi-process preferences
|
// multi-process safe preferences
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
|
||||||
mSharedPreferences = context.getSharedPreferences("APG.main", Context.MODE_MULTI_PROCESS);
|
mSharedPreferences = context.getSharedPreferences("APG.main", Context.MODE_MULTI_PROCESS);
|
||||||
} else {
|
|
||||||
mSharedPreferences = context.getSharedPreferences("APG.main", Context.MODE_PRIVATE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLanguage() {
|
public String getLanguage() {
|
||||||
|
Loading…
Reference in New Issue
Block a user