a.java
1.53 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.instabug.library.e.a;
import android.content.Context;
import com.instabug.library.e.c.a;
import com.instabug.library.e.c.b;
import com.instabug.library.e.c.d;
import com.instabug.library.e.d;
import com.instabug.library.util.InstabugSDKLogger;
import java.io.IOException;
import org.json.JSONException;
import rx.Observable;
import rx.Subscriber;
public class a
{
private static a a;
private com.instabug.library.e.a b = new com.instabug.library.e.a();
public static a a()
{
if (a == null) {
a = new a();
}
return a;
}
public void a(Context paramContext, final c.a<String, Throwable> parama)
throws JSONException, IOException
{
InstabugSDKLogger.d(this, "Getting enabled features for this application");
paramContext = this.b.a(paramContext, c.b.d, c.d.a);
this.b.a(paramContext).subscribe(new Subscriber()
{
public final void onCompleted()
{
InstabugSDKLogger.d(this, "getAppFeatures request completed");
}
public final void onError(Throwable paramAnonymousThrowable)
{
InstabugSDKLogger.d(this, "getAppFeatures request got error: " + paramAnonymousThrowable.getMessage());
parama.a(paramAnonymousThrowable);
}
public final void onStart()
{
InstabugSDKLogger.d(this, "getAppFeatures request started");
}
});
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/e/a/a.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/