package o; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.util.Log; /* loaded from: classes.dex */ public final class AmK extends typ { public AmK(Context context) { super(new yax("AppUpdateListenerRegistry"), new IntentFilter("com.google.android.play.core.install.ACTION_INSTALL_STATUS"), context); } @Override // o.typ public final void No_(Context context, Intent intent) { if (!context.getPackageName().equals(intent.getStringExtra("package.name"))) { yax yaxVar = this.a; Object[] objArr = {intent.getStringExtra("package.name")}; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar.d, "ListenerRegistryBroadcastReceiver received broadcast for third party app: %s", objArr); return; } return; } yax yaxVar2 = this.a; Object[] objArr2 = new Object[0]; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar2.d, "List of extras in received intent:", objArr2); } for (String str : intent.getExtras().keySet()) { yax yaxVar3 = this.a; Object[] objArr3 = {str, intent.getExtras().get(str)}; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar3.d, "Key: %s; value: %s", objArr3); } } yax yaxVar4 = this.a; Object[] objArr4 = new Object[0]; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar4.d, "List of extras in received intent needed by fromUpdateIntent:", objArr4); } Object[] objArr5 = {"install.status", Integer.valueOf(intent.getIntExtra("install.status", 0))}; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar4.d, "Key: %s; value: %s", objArr5); } Object[] objArr6 = {"error.code", Integer.valueOf(intent.getIntExtra("error.code", 0))}; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar4.d, "Key: %s; value: %s", objArr6); } orE ore = new orE(intent.getIntExtra("install.status", 0), intent.getLongExtra("bytes.downloaded", 0L), intent.getLongExtra("total.bytes.to.download", 0L), intent.getIntExtra("error.code", 0), intent.getStringExtra("package.name")); yax yaxVar5 = this.a; Object[] objArr7 = {ore}; if (Log.isLoggable("PlayCore", 3)) { yax.d(yaxVar5.d, "ListenerRegistryBroadcastReceiver.onReceive: %s", objArr7); } a(ore); } }