PushRegistrarADM.java 1.06 KB
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
 */