SharedPreferencesCompat.java
935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package android.support.v4.content;
import android.content.SharedPreferences.Editor;
import android.support.annotation.NonNull;
public final class SharedPreferencesCompat
{
public static final class EditorCompat
{
private static EditorCompat a;
private final a b = new a();
public static EditorCompat getInstance()
{
if (a == null) {
a = new EditorCompat();
}
return a;
}
public final void apply(@NonNull SharedPreferences.Editor paramEditor)
{
try
{
paramEditor.apply();
return;
}
catch (AbstractMethodError localAbstractMethodError)
{
paramEditor.commit();
}
}
static final class a {}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/content/SharedPreferencesCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/