package o; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.os.Build; /* loaded from: classes5.dex */ public final class fPY extends BroadcastReceiver { public static final HBt a = new HBt(0); private static String c = ""; /* loaded from: classes5.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } @Override // android.content.BroadcastReceiver public final void onReceive(Context context, Intent intent) { ComponentName componentName; C14957gcv.e(context, ""); C14957gcv.e(intent, ""); if (Build.VERSION.SDK_INT >= 33) { componentName = (ComponentName) intent.getParcelableExtra("android.intent.extra.CHOSEN_COMPONENT", ComponentName.class); } else { componentName = (ComponentName) intent.getParcelableExtra("android.intent.extra.CHOSEN_COMPONENT"); } if (componentName != null) { String flattenToString = componentName.flattenToString(); C14957gcv.c((Object) flattenToString, ""); c = flattenToString; } } }