package com.xlx.speech.o; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.text.TextUtils; import com.xlx.speech.f.c; import com.xlx.speech.f.d; import com.xlx.speech.i.a; import java.util.HashMap; public class k extends BroadcastReceiver { public final /* synthetic */ i a; public k(i iVar) { this.a = iVar; } public void onReceive(Context context, Intent intent) { if (this.a.g != 2) { return; } if (TextUtils.equals(intent.getAction(), "android.intent.action.SCREEN_ON")) { a aVar = a.C0409a.a; String tagId = this.a.c.getTagId(); aVar.getClass(); HashMap hashMap = new HashMap(); hashMap.put("tagId", tagId); aVar.a.A(d.a(hashMap)).enqueue(new c()); } else if (TextUtils.equals(intent.getAction(), "android.intent.action.SCREEN_OFF")) { a aVar2 = a.C0409a.a; String tagId2 = this.a.c.getTagId(); aVar2.getClass(); HashMap hashMap2 = new HashMap(); hashMap2.put("tagId", tagId2); aVar2.a.a(d.a(hashMap2)).enqueue(new c()); } } }