PushManager(Context context) { GeneralUtils.checkNotNull(context, "context"); mContext = context; if (GeneralUtils.isAmazonDevice()) { pushRegistrar = new PushRegistrarADM(context); } else { pushRegistrar = new PushRegistrarGCM(context); } }
PushManager(Context context) { GeneralUtils.checkNotNull(context, "context"); mContext = context; if (GeneralUtils.isAmazonDevice()) { pushRegistrar = new PushRegistrarADM(context); } else { pushRegistrar = new PushRegistrarGCM(context); } }