package com.discord.app; import android.app.Application; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.LocaleList; import android.os.Looper; import android.util.TypedValue; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.FrameLayout; import androidx.annotation.DrawableRes; import androidx.annotation.StringRes; import androidx.appcompat.widget.ActivityChooserModel; import androidx.appcompat.widget.Toolbar; import androidx.core.content.ContextCompat; import androidx.fragment.app.FragmentManager; import androidx.preference.PreferenceManager; import b.a.d.h; import b.a.d.i; import b.a.d.j; import com.discord.R; import com.discord.app.AppTransitionActivity; import com.discord.models.domain.ModelUserSettings; import com.discord.screenshot_detection.ScreenshotDetector; import com.discord.stores.StoreStream; import com.discord.stores.StoreUserSettingsSystem; import com.discord.utilities.ShareUtils; import com.discord.utilities.accessibility.AccessibilityMonitor; import com.discord.utilities.accessibility.AccessibilityUtils; import com.discord.utilities.analytics.AnalyticsUtils; import com.discord.utilities.billing.GooglePlayBillingManager; import com.discord.utilities.bugreports.BugReportManager; import com.discord.utilities.color.ColorCompat; import com.discord.utilities.drawable.DrawableCompat; import com.discord.utilities.font.FontUtils; import com.discord.utilities.intent.IntentUtils; import com.discord.utilities.lifecycle.ApplicationProvider; import com.discord.utilities.rx.ObservableExtensionsKt; import com.discord.views.ToolbarTitleLayout; import com.discord.widgets.debugging.WidgetFatalCrash; import com.discord.widgets.share.WidgetIncomingShare; import com.discord.widgets.tabs.NavigationTab; import com.discord.widgets.tabs.WidgetTabsHost; import com.discord.widgets.voice.call.WidgetVoiceCallIncoming; import com.discord.widgets.voice.fullscreen.WidgetCallFullscreen; import com.google.android.material.textfield.TextInputLayout; import d0.z.d.a0; import d0.z.d.m; import d0.z.d.o; import java.io.Serializable; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Objects; import kotlin.Lazy; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import rx.subjects.PublishSubject; import rx.subjects.Subject; /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public class AppActivity extends b.a.d.d implements AppComponent { public static boolean m; public static final Intent n = new Intent(); public static boolean o = true; public final Subject t; public Toolbar u; public final LinkedHashMap> p = new LinkedHashMap<>(); public int q = -1; public String r = ""; /* renamed from: s reason: collision with root package name */ public boolean f2065s = true; public final Lazy v = d0.g.lazy(new e()); public Intent w = n; /* renamed from: x reason: collision with root package name */ public final AppPermissionsRequests f2066x = new h(this); /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class AppAction extends AppActivity { /* renamed from: y reason: collision with root package name */ public final Lazy f2067y = d0.g.lazy(new a()); /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class a extends o implements Function0> { public a() { super(0); } @Override // kotlin.jvm.functions.Function0 public Class invoke() { int hashCode; String action = AppAction.this.c().getAction(); return (action != null && ((hashCode = action.hashCode()) == -1173264947 ? action.equals("android.intent.action.SEND") : !(hashCode == -1103390587 ? !action.equals("com.discord.intent.action.SDK") : hashCode != -58484670 || !action.equals("android.intent.action.SEND_MULTIPLE")))) ? WidgetIncomingShare.class : WidgetTabsHost.class; } } @Override // com.discord.app.AppActivity public Class d() { return (Class) this.f2067y.getValue(); } @Override // com.discord.app.AppActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { AppActivity.super.onCreate(bundle); if (AppActivity.m) { finish(); } } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class Call extends AppActivity { /* renamed from: y reason: collision with root package name */ public final Class f2068y = WidgetCallFullscreen.class; @Override // com.discord.app.AppActivity public Class d() { return this.f2068y; } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class IncomingCall extends AppActivity { /* renamed from: y reason: collision with root package name */ public final Class f2069y = WidgetVoiceCallIncoming.SystemCallIncoming.class; @Override // com.discord.app.AppActivity public Class d() { return this.f2069y; } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class Main extends AppActivity { } /* compiled from: kotlin-style lambda group */ /* loaded from: classes2.dex */ public static final class a extends o implements Function0 { public final /* synthetic */ int j; public final /* synthetic */ Object k; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public a(int i, Object obj) { super(0); this.j = i; this.k = obj; } @Override // kotlin.jvm.functions.Function0 public final Unit invoke() { int i = this.j; if (i == 0) { invoke2(); return Unit.a; } else if (i == 1) { invoke2(); return Unit.a; } else { throw null; } } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke reason: avoid collision after fix types in other method */ public final void invoke2() { int i = this.j; AppTransitionActivity.a aVar = null; boolean z2 = true; if (i == 0) { AppActivity appActivity = (AppActivity) this.k; AppActivity.m = IntentUtils.INSTANCE.consumeExternalRoutingIntent(appActivity.c(), appActivity); Intent c = ((AppActivity) this.k).c(); AppActivity appActivity2 = (AppActivity) this.k; Objects.requireNonNull(appActivity2); Serializable serializableExtra = c != null ? c.getSerializableExtra("transition") : null; if (!(serializableExtra instanceof AppTransitionActivity.Transition)) { serializableExtra = null; } AppTransitionActivity.Transition transition = (AppTransitionActivity.Transition) serializableExtra; if (AccessibilityUtils.INSTANCE.isReducedMotionEnabled()) { transition = AppTransitionActivity.Transition.TYPE_FADE_FAST; } else if (transition == null) { j jVar = j.g; transition = appActivity2.g(j.d) ? AppTransitionActivity.Transition.TYPE_SLIDE_HORIZONTAL : null; } if (transition != null) { aVar = transition.getAnimations(); } appActivity2.k = aVar; if (((AppActivity) this.k).getSupportFragmentManager().findFragmentByTag(((AppActivity) this.k).d().getName()) == null) { z2 = false; } if (!z2) { j jVar2 = j.g; FragmentManager supportFragmentManager = ((AppActivity) this.k).getSupportFragmentManager(); AppActivity appActivity3 = (AppActivity) this.k; j.g(jVar2, supportFragmentManager, appActivity3, appActivity3.d(), 0, false, null, null, 120); } } else if (i == 1) { Objects.requireNonNull((AppActivity) this.k); AppActivity appActivity4 = (AppActivity) this.k; if (appActivity4.u == null) { appActivity4.n((Toolbar) appActivity4.findViewById(R.id.action_bar_toolbar)); } } else { throw null; } } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class b extends o implements Function0 { public static final b j = new b(); public b() { super(0); } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke reason: avoid collision after fix types in other method */ public final void invoke2() { if (AppActivity.o) { AppActivity.o = false; AppLog.i("Application activity initialized."); StoreStream.Companion companion = StoreStream.Companion; ApplicationProvider applicationProvider = ApplicationProvider.INSTANCE; companion.initialize(applicationProvider.get()); AnalyticsUtils.INSTANCE.initAppOpen(applicationProvider.get()); AccessibilityMonitor.Companion.initialize(applicationProvider.get()); ShareUtils.INSTANCE.updateDirectShareTargets(applicationProvider.get()); GooglePlayBillingManager.INSTANCE.init(applicationProvider.get()); AppLog appLog = AppLog.g; m.checkNotNullParameter(appLog, "logger"); Application application = applicationProvider.get(); SharedPreferences defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(applicationProvider.get()); m.checkNotNullExpressionValue(defaultSharedPreferences, "PreferenceManager.getDef…pplicationProvider.get())"); ScreenshotDetector.a = new ScreenshotDetector(application, appLog, defaultSharedPreferences); BugReportManager.Companion.init(); } } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class c extends o implements Function1 { public c() { super(1); } /* JADX WARN: Removed duplicated region for block: B:20:0x0079 */ @Override // kotlin.jvm.functions.Function1 /* Code decompiled incorrectly, please refer to instructions dump. */ public Unit invoke(StoreUserSettingsSystem.Settings settings) { boolean z2; StoreUserSettingsSystem.Settings settings2 = settings; m.checkNotNullParameter(settings2, "it"); AppActivity appActivity = AppActivity.this; boolean z3 = AppActivity.m; Objects.requireNonNull(appActivity); Locale localeObject = ModelUserSettings.getLocaleObject(settings2.getLocale()); m.checkNotNullExpressionValue(localeObject, "ModelUserSettings.getLocaleObject(model.locale)"); if (appActivity.f(localeObject)) { appActivity.b(settings2.getLocale(), true); } else { String theme = settings2.getTheme(); b.a.d.c cVar = new b.a.d.c(appActivity); TypedValue typedValue = new TypedValue(); cVar.this$0.getTheme().resolveAttribute(R.attr.theme_name, typedValue, true); if (!(!m.areEqual(typedValue.string, theme))) { int fontScale = settings2.getFontScale(); FontUtils fontUtils = FontUtils.INSTANCE; ContentResolver contentResolver = appActivity.getContentResolver(); m.checkNotNullExpressionValue(contentResolver, "contentResolver"); if (!((fontScale == -1 && appActivity.q != fontUtils.getSystemFontScaleInt(contentResolver)) || !(fontScale == -1 || appActivity.q == fontScale))) { z2 = false; if (z2) { AppActivity.i(AppActivity.this, false, 1, null); } return Unit.a; } } } z2 = true; if (z2) { } return Unit.a; } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class d extends o implements Function1 { public d() { super(1); } @Override // kotlin.jvm.functions.Function1 public Unit invoke(ScreenshotDetector.Screenshot screenshot) { ScreenshotDetector.Screenshot screenshot2 = screenshot; m.checkNotNullParameter(screenshot2, "screenshot"); BugReportManager.Companion.get().onScreenshot(AppActivity.this, screenshot2); return Unit.a; } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class e extends o implements Function0> { public e() { super(0); } @Override // kotlin.jvm.functions.Function0 public Class invoke() { Intent intent = AppActivity.this.getIntent(); Class cls = (Class) (intent != null ? intent.getSerializableExtra("com.discord.intent.extra.EXTRA_SCREEN") : null); return cls != null ? cls : WidgetTabsHost.class; } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class f implements Runnable { public final /* synthetic */ View j; public final /* synthetic */ InputMethodManager k; public f(View view, InputMethodManager inputMethodManager) { this.j = view; this.k = inputMethodManager; } @Override // java.lang.Runnable public final void run() { try { View view = this.j; if ((view instanceof TextInputLayout) && (view = ((TextInputLayout) view).getEditText()) == null) { view = this.j; } view.requestFocus(); this.k.showSoftInput(view, 2); } catch (Exception e) { AppLog.g.d("Error Opening/Closing the Keyboard", e); } } } /* compiled from: AppActivity.kt */ /* loaded from: classes.dex */ public static final class g implements View.OnClickListener { public g() { } @Override // android.view.View.OnClickListener public final void onClick(View view) { AppActivity appActivity = AppActivity.this; boolean z2 = AppActivity.m; appActivity.hideKeyboard(null); AppActivity.this.onBackPressed(); } } public AppActivity() { PublishSubject k0 = PublishSubject.k0(); m.checkNotNullExpressionValue(k0, "PublishSubject.create()"); this.t = k0; int i = AppPermissionsRequests.a; m.checkNotNullParameter(this, ActivityChooserModel.ATTRIBUTE_ACTIVITY); } public static void i(AppActivity appActivity, boolean z2, int i, Object obj) { if ((i & 1) != 0) { z2 = true; } if (appActivity.f2065s) { appActivity.finish(); if (z2) { AppTransitionActivity.Transition transition = AppTransitionActivity.Transition.TYPE_FADE; appActivity.overridePendingTransition(transition.getAnimations().c, transition.getAnimations().d); appActivity.getIntent().putExtra("transition", transition); } j.d(appActivity, appActivity.d(), appActivity.getIntent()); } } @Override // android.view.ContextThemeWrapper public void applyOverrideConfiguration(Configuration configuration) { if (configuration != null) { int i = configuration.uiMode; Context baseContext = getBaseContext(); m.checkNotNullExpressionValue(baseContext, "baseContext"); Resources resources = baseContext.getResources(); m.checkNotNullExpressionValue(resources, "baseContext.resources"); configuration.setTo(resources.getConfiguration()); configuration.uiMode = i; } super.applyOverrideConfiguration(configuration); } @Override // androidx.appcompat.app.AppCompatActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public void attachBaseContext(Context context) { b.j.invoke2(); if (context == null) { context = this; } if (!o) { Resources resources = context.getResources(); m.checkNotNullExpressionValue(resources, "oldContext.resources"); Configuration configuration = resources.getConfiguration(); float targetFontScaleFloat = FontUtils.INSTANCE.getTargetFontScaleFloat(context); configuration.fontScale = targetFontScaleFloat; this.q = d0.a0.a.roundToInt(targetFontScaleFloat * 100.0f); context = context.createConfigurationContext(configuration); m.checkNotNullExpressionValue(context, "oldContext.createConfigurationContext(config)"); } super.attachBaseContext(context); } public final void b(String str, boolean z2) { Locale localeObject = ModelUserSettings.getLocaleObject(str); m.checkNotNullExpressionValue(localeObject, "locale"); if (f(localeObject)) { Locale.setDefault(localeObject); if (Build.VERSION.SDK_INT >= 24) { Resources resources = getResources(); m.checkNotNullExpressionValue(resources, "resources"); resources.getConfiguration().setLocale(localeObject); } else { Resources resources2 = getResources(); m.checkNotNullExpressionValue(resources2, "resources"); resources2.getConfiguration().locale = localeObject; } Resources resources3 = getResources(); Resources resources4 = getResources(); m.checkNotNullExpressionValue(resources4, "resources"); Configuration configuration = resources4.getConfiguration(); Resources resources5 = getResources(); m.checkNotNullExpressionValue(resources5, "resources"); resources3.updateConfiguration(configuration, resources5.getDisplayMetrics()); if (z2) { i(this, false, 1, null); } } } public final Intent c() { Intent intent = this.w; Intent intent2 = n; if (intent != intent2) { return intent; } Intent intent3 = getIntent(); return intent3 != null ? intent3 : new Intent(intent2); } public Class d() { return (Class) this.v.getValue(); } public final ToolbarTitleLayout e() { Toolbar toolbar = this.u; ToolbarTitleLayout toolbarTitleLayout = null; View childAt = toolbar != null ? toolbar.getChildAt(0) : null; if (childAt instanceof ToolbarTitleLayout) { toolbarTitleLayout = childAt; } return toolbarTitleLayout; } public final boolean f(Locale locale) { if (Build.VERSION.SDK_INT >= 24) { Resources resources = getResources(); m.checkNotNullExpressionValue(resources, "resources"); Configuration configuration = resources.getConfiguration(); m.checkNotNullExpressionValue(configuration, "resources.configuration"); LocaleList locales = configuration.getLocales(); m.checkNotNullExpressionValue(locales, "resources.configuration.locales"); if (!locales.isEmpty()) { Resources resources2 = getResources(); m.checkNotNullExpressionValue(resources2, "resources"); Configuration configuration2 = resources2.getConfiguration(); m.checkNotNullExpressionValue(configuration2, "resources.configuration"); if (!(!m.areEqual(configuration2.getLocales().get(0), locale))) { return false; } } } else { Resources resources3 = getResources(); m.checkNotNullExpressionValue(resources3, "resources"); if (resources3.getConfiguration().locale != null) { Resources resources4 = getResources(); m.checkNotNullExpressionValue(resources4, "resources"); if (!(!m.areEqual(resources4.getConfiguration().locale, locale))) { return false; } } } return true; } public final boolean g(List> list) { m.checkNotNullParameter(list, "screens"); if ((list instanceof Collection) && list.isEmpty()) { return false; } Iterator it = list.iterator(); while (it.hasNext()) { if (m.areEqual(d0.z.a.getJavaClass((d0.e0.c) it.next()), d())) { return true; } } return false; } @Override // com.discord.app.AppComponent public Subject getUnsubscribeSignal() { return this.t; } public final boolean h(d0.e0.c cVar) { m.checkNotNullParameter(cVar, "screen"); return m.areEqual(d0.z.a.getJavaClass(cVar), d()); } public final void hideKeyboard(View view) { m(false, view); } public final void j(Context context) { m.checkNotNullParameter(context, "context"); if (!h(a0.getOrCreateKotlinClass(WidgetTabsHost.class))) { List> list = j.a; m.checkNotNullParameter(context, "context"); Intent intent = new Intent(); intent.addFlags(67108864); j.c(context, false, intent, 2); } } public final Toolbar k(boolean z2, @DrawableRes Integer num, @StringRes Integer num2) { Toolbar toolbar = this.u; Drawable drawable = null; if (toolbar == null) { return null; } if (z2) { int themedDrawableRes$default = DrawableCompat.getThemedDrawableRes$default(toolbar, (int) R.attr.ic_action_bar_back, 0, 2, (Object) null); Context context = toolbar.getContext(); if (num != null) { themedDrawableRes$default = num.intValue(); } drawable = ContextCompat.getDrawable(context, themedDrawableRes$default); if (drawable != null) { androidx.core.graphics.drawable.DrawableCompat.setTint(drawable, ColorCompat.getThemedColor(toolbar, (int) R.attr.colorInteractiveActive)); } toolbar.setNavigationContentDescription(getString(R.string.back)); } toolbar.setNavigationIcon(drawable); if (num2 == null) { return toolbar; } toolbar.setNavigationContentDescription(getString(num2.intValue())); return toolbar; } public final Unit l(CharSequence charSequence, @DrawableRes Integer num) { ToolbarTitleLayout e2 = e(); if (e2 == null) { return null; } int i = ToolbarTitleLayout.j; e2.a(charSequence, num, null); return Unit.a; } public final void m(boolean z2, View view) { IBinder iBinder; View childAt; Object systemService = getSystemService("input_method"); Objects.requireNonNull(systemService, "null cannot be cast to non-null type android.view.inputmethod.InputMethodManager"); InputMethodManager inputMethodManager = (InputMethodManager) systemService; if (view == null || (iBinder = view.getWindowToken()) == null) { FrameLayout frameLayout = (FrameLayout) findViewById(16908290); iBinder = (frameLayout == null || (childAt = frameLayout.getChildAt(0)) == null) ? null : childAt.getApplicationWindowToken(); } if (!z2) { try { inputMethodManager.hideSoftInputFromWindow(iBinder, 0); } catch (Exception e2) { AppLog.g.d("Error Opening/Closing the Keyboard", e2); } } else if (view != null) { view.postDelayed(new f(view, inputMethodManager), 250L); } } public final void n(Toolbar toolbar) { this.u = toolbar; if (e() == null) { Toolbar toolbar2 = this.u; if (toolbar2 != null) { toolbar2.addView(new ToolbarTitleLayout(this), 0); } ToolbarTitleLayout e2 = e(); if (e2 != null) { e2.setBackground(ContextCompat.getDrawable(this, DrawableCompat.getThemedDrawableRes$default(this, (int) R.attr.selectableItemBackground, 0, 2, (Object) null))); } Toolbar toolbar3 = this.u; if (toolbar3 != null) { toolbar3.setNavigationOnClickListener(new g()); } } } @Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { super.onCreate(bundle); a aVar = new a(0, this); a aVar2 = new a(1, this); try { StoreStream.Companion companion = StoreStream.Companion; String theme = companion.getUserSettingsSystem().getTheme(); boolean areEqual = m.areEqual(theme, ModelUserSettings.THEME_LIGHT); int i = R.style.AppTheme_Dark; if (areEqual) { i = R.style.AppTheme_Light; } else if (!m.areEqual(theme, ModelUserSettings.THEME_DARK) && m.areEqual(theme, ModelUserSettings.THEME_PURE_EVIL)) { i = R.style.AppTheme_Dark_Evil; } setTheme(i); b(companion.getUserSettingsSystem().getLocale(), false); aVar.invoke2(); aVar2.invoke2(); if (!h(a0.getOrCreateKotlinClass(WidgetTabsHost.class)) || companion.getTabsNavigation().getSelectedTab() != NavigationTab.HOME) { companion.getAnalytics().appUiViewed(d()); } } catch (Exception e2) { if (!h(a0.getOrCreateKotlinClass(WidgetFatalCrash.class))) { WidgetFatalCrash.Companion companion2 = WidgetFatalCrash.Companion; String name = d().getName(); m.checkNotNullExpressionValue(name, "screen.name"); companion2.launch(this, e2, name); } finish(); } } @Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity public void onDestroy() { this.p.clear(); super.onDestroy(); } @Override // androidx.fragment.app.FragmentActivity, android.app.Activity public void onNewIntent(Intent intent) { super.onNewIntent(intent); if (intent == null) { intent = n; } this.w = intent; m = IntentUtils.INSTANCE.consumeExternalRoutingIntent(c(), this); Intent c2 = c(); for (Map.Entry> entry : this.p.entrySet()) { entry.getValue().invoke(c2); } } @Override // com.discord.app.AppTransitionActivity, androidx.fragment.app.FragmentActivity, android.app.Activity public void onPause() { super.onPause(); this.t.onNext(null); } @Override // com.discord.app.AppTransitionActivity, androidx.fragment.app.FragmentActivity, android.app.Activity public void onResume() { super.onResume(); j jVar = j.g; m.checkNotNullParameter(this, ActivityChooserModel.ATTRIBUTE_ACTIVITY); boolean booleanExtra = c().getBooleanExtra("INTENT_RECREATE", false); if (booleanExtra) { c().removeExtra("INTENT_RECREATE"); new Handler(Looper.getMainLooper()).post(new i(this)); } if (!booleanExtra) { StoreStream.Companion companion = StoreStream.Companion; if (!(!m.areEqual(companion.getUserSettingsSystem().getLocale(), this.r)) || !(!m.areEqual(this.r, ""))) { this.r = companion.getUserSettingsSystem().getLocale(); ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(companion.getUserSettingsSystem().observeSettings(true), this, null, 2, null), getClass(), (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new c(), 62, (Object) null); ScreenshotDetector screenshotDetector = ScreenshotDetector.a; if (screenshotDetector == null) { m.throwUninitializedPropertyAccessException("screenshotDetector"); } ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(screenshotDetector.f2777b, this, null, 2, null), getClass(), (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(), 62, (Object) null); return; } i(this, false, 1, null); } } public final void showKeyboard(View view) { m.checkNotNullParameter(view, "view"); m(true, view); } }