package com.meizu.cloud.pushsdk.handler.a.d; import android.content.Context; import android.content.Intent; import com.meizu.cloud.pushinternal.DebugLogger; import com.meizu.cloud.pushsdk.constants.PushConstants; import com.meizu.cloud.pushsdk.handler.MessageV3; import com.meizu.cloud.pushsdk.handler.MzPushMessage; import com.meizu.cloud.pushsdk.handler.a.a; import com.meizu.cloud.pushsdk.notification.c; public class d extends a<MessageV3> { private Context a; public d(Context context, com.meizu.cloud.pushsdk.handler.a aVar) { super(context, aVar); this.a = context; } @Override // com.meizu.cloud.pushsdk.handler.c public int a() { return 128; } /* access modifiers changed from: protected */ public void a(MessageV3 messageV3, c cVar) { if (messageV3 != null) { if (c() == null) { c().c(d(), MzPushMessage.fromMessageV3(messageV3)); } c(messageV3); a(this.a, messageV3); } } @Override // com.meizu.cloud.pushsdk.handler.c public boolean a(Intent intent) { DebugLogger.i("AbstractMessageHandler", "start NotificationDeleteMessageHandler match"); return PushConstants.MZ_PUSH_ON_MESSAGE_ACTION.equals(intent.getAction()) && PushConstants.MZ_PUSH_MESSAGE_METHOD_ACTION_NOTIFICATION_DELETE.equals(k(intent)); } /* access modifiers changed from: protected */ /* renamed from: d */ public void b(MessageV3 messageV3) { com.meizu.cloud.pushsdk.util.d.a(d(), messageV3.getUploadDataPackageName(), messageV3.getDeviceId(), messageV3.getTaskId(), messageV3.getSeqId(), messageV3.getPushTimestamp()); } /* access modifiers changed from: protected */ /* renamed from: l */ public MessageV3 c(Intent intent) { return (MessageV3) intent.getParcelableExtra(PushConstants.MZ_PUSH_PRIVATE_MESSAGE); } }