am dfafaffe: Merge "Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put" into klp-dev
* commit 'dfafaffe8601a3483e8da8f32bd4c754fecb88c1': Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put
This commit is contained in:
@@ -710,7 +710,7 @@ class ContextImpl extends Context {
|
||||
@Override
|
||||
public SharedPreferences getSharedPreferences(String name, int mode) {
|
||||
SharedPreferencesImpl sp;
|
||||
synchronized (mSync) {
|
||||
synchronized (ContextImpl.class) {
|
||||
if (sSharedPrefs == null) {
|
||||
sSharedPrefs = new ArrayMap<String, ArrayMap<String, SharedPreferencesImpl>>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user