package io.flutter.plugin.platform;

import android.view.View;
import android.view.ViewTreeObserver;

/* JADX INFO: loaded from: classes.dex */
public final class m implements ViewTreeObserver.OnGlobalFocusChangeListener {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ View.OnFocusChangeListener f28220a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ PlatformViewWrapper f28221b;

    public m(PlatformViewWrapper platformViewWrapper, View.OnFocusChangeListener onFocusChangeListener) {
        this.f28221b = platformViewWrapper;
        this.f28220a = onFocusChangeListener;
    }

    @Override // android.view.ViewTreeObserver.OnGlobalFocusChangeListener
    public final void onGlobalFocusChanged(View view, View view2) {
        PlatformViewWrapper platformViewWrapper = this.f28221b;
        this.f28220a.onFocusChange(platformViewWrapper, id.e.childHasFocus(platformViewWrapper));
    }
}
