PushRegistrarADM.java
1.06 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
package com.arellomobile.android.push.registrar;
import android.content.Context;
import com.amazon.device.messaging.ADM;
import com.arellomobile.android.push.ADMRegistrar;
import com.arellomobile.android.push.utils.GeneralUtils;
import com.arellomobile.android.push.utils.PreferenceUtils;
public class PushRegistrarADM
implements PushRegistrar
{
private final ADM a;
public PushRegistrarADM(Context paramContext)
{
this.a = new ADM(paramContext);
}
public void checkDevice(Context paramContext)
{
GeneralUtils.checkNotNullOrEmpty(PreferenceUtils.getApplicationId(paramContext), "mAppId");
ADMRegistrar.checkDevice(this.a);
ADMRegistrar.checkManifest(paramContext);
}
public void registerPW(Context paramContext)
{
this.a.startRegister();
}
public void unregisterPW(Context paramContext)
{
this.a.startUnregister();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/arellomobile/android/push/registrar/PushRegistrarADM.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/