package androidx.activity; import android.app.Activity; import android.view.inputmethod.InputMethodManager; import o.InterfaceC16541pFg; import o.InterfaceC3451axm; import o.wdQ; /* loaded from: classes.dex */ final class ImmLeaksCleaner implements InterfaceC3451axm { private static int a; private Activity e; @Override // o.InterfaceC3451axm public final void c(InterfaceC16541pFg interfaceC16541pFg, wdQ.HBt hBt) { if (hBt != wdQ.HBt.ON_DESTROY) { return; } if (a == 0) { try { a = 2; InputMethodManager.class.getDeclaredField("mServedView").setAccessible(true); InputMethodManager.class.getDeclaredField("mNextServedView").setAccessible(true); InputMethodManager.class.getDeclaredField("mH").setAccessible(true); a = 1; } catch (NoSuchFieldException unused) { } } if (a == 1) { throw null; } } }