Rabbit-R1/switch port/smali/smali_classes3/io/flutter/app/FlutterFragmentActivity.smali
2024-05-21 17:08:36 -04:00

348 lines
10 KiB
Smali

.class public Lio/flutter/app/FlutterFragmentActivity;
.super Landroidx/fragment/app/FragmentActivity;
.source "FlutterFragmentActivity.java"
# interfaces
.implements Lio/flutter/view/FlutterView$Provider;
.implements Lio/flutter/plugin/common/PluginRegistry;
.implements Lio/flutter/app/FlutterActivityDelegate$ViewFactory;
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# instance fields
.field private final delegate:Lio/flutter/app/FlutterActivityDelegate;
.field private final eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.field private final pluginRegistry:Lio/flutter/plugin/common/PluginRegistry;
.field private final viewProvider:Lio/flutter/view/FlutterView$Provider;
# direct methods
.method public constructor <init>()V
.locals 1
.line 35
invoke-direct {p0}, Landroidx/fragment/app/FragmentActivity;-><init>()V
.line 37
new-instance v0, Lio/flutter/app/FlutterActivityDelegate;
invoke-direct {v0, p0, p0}, Lio/flutter/app/FlutterActivityDelegate;-><init>(Landroid/app/Activity;Lio/flutter/app/FlutterActivityDelegate$ViewFactory;)V
iput-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->delegate:Lio/flutter/app/FlutterActivityDelegate;
iput-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
iput-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->viewProvider:Lio/flutter/view/FlutterView$Provider;
iput-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->pluginRegistry:Lio/flutter/plugin/common/PluginRegistry;
return-void
.end method
# virtual methods
.method public createFlutterNativeView()Lio/flutter/view/FlutterNativeView;
.locals 0
const/4 p0, 0x0
return-object p0
.end method
.method public createFlutterView(Landroid/content/Context;)Lio/flutter/view/FlutterView;
.locals 0
const/4 p0, 0x0
return-object p0
.end method
.method public getFlutterView()Lio/flutter/view/FlutterView;
.locals 0
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->viewProvider:Lio/flutter/view/FlutterView$Provider;
.line 51
invoke-interface {p0}, Lio/flutter/view/FlutterView$Provider;->getFlutterView()Lio/flutter/view/FlutterView;
move-result-object p0
return-object p0
.end method
.method public final hasPlugin(Ljava/lang/String;)Z
.locals 0
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->pluginRegistry:Lio/flutter/plugin/common/PluginRegistry;
.line 77
invoke-interface {p0, p1}, Lio/flutter/plugin/common/PluginRegistry;->hasPlugin(Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method protected onActivityResult(IILandroid/content/Intent;)V
.locals 1
iget-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 142
invoke-interface {v0, p1, p2, p3}, Lio/flutter/app/FlutterActivityEvents;->onActivityResult(IILandroid/content/Intent;)Z
move-result v0
if-nez v0, :cond_0
.line 143
invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->onActivityResult(IILandroid/content/Intent;)V
:cond_0
return-void
.end method
.method public onBackPressed()V
.locals 1
iget-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 104
invoke-interface {v0}, Lio/flutter/app/FlutterActivityEvents;->onBackPressed()Z
move-result v0
if-nez v0, :cond_0
.line 105
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onBackPressed()V
:cond_0
return-void
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 0
.line 178
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 179
invoke-interface {p0, p1}, Lio/flutter/app/FlutterActivityEvents;->onConfigurationChanged(Landroid/content/res/Configuration;)V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
.line 92
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 93
invoke-interface {p0, p1}, Lio/flutter/app/FlutterActivityEvents;->onCreate(Landroid/os/Bundle;)V
return-void
.end method
.method protected onDestroy()V
.locals 1
iget-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 98
invoke-interface {v0}, Lio/flutter/app/FlutterActivityEvents;->onDestroy()V
.line 99
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onDestroy()V
return-void
.end method
.method public onLowMemory()V
.locals 0
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 173
invoke-interface {p0}, Lio/flutter/app/FlutterActivityEvents;->onLowMemory()V
return-void
.end method
.method protected onNewIntent(Landroid/content/Intent;)V
.locals 0
.line 149
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onNewIntent(Landroid/content/Intent;)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 150
invoke-interface {p0, p1}, Lio/flutter/app/FlutterActivityEvents;->onNewIntent(Landroid/content/Intent;)V
return-void
.end method
.method protected onPause()V
.locals 0
.line 123
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onPause()V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 124
invoke-interface {p0}, Lio/flutter/app/FlutterActivityEvents;->onPause()V
return-void
.end method
.method protected onPostResume()V
.locals 0
.line 129
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onPostResume()V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 130
invoke-interface {p0}, Lio/flutter/app/FlutterActivityEvents;->onPostResume()V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 0
.line 136
invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->onRequestPermissionsResult(I[Ljava/lang/String;[I)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 137
invoke-interface {p0, p1, p2, p3}, Lio/flutter/app/FlutterActivityEvents;->onRequestPermissionsResult(I[Ljava/lang/String;[I)Z
return-void
.end method
.method protected onStart()V
.locals 0
.line 111
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onStart()V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 112
invoke-interface {p0}, Lio/flutter/app/FlutterActivityEvents;->onStart()V
return-void
.end method
.method protected onStop()V
.locals 1
iget-object v0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 117
invoke-interface {v0}, Lio/flutter/app/FlutterActivityEvents;->onStop()V
.line 118
invoke-super {p0}, Landroidx/fragment/app/FragmentActivity;->onStop()V
return-void
.end method
.method public onTrimMemory(I)V
.locals 0
.line 167
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onTrimMemory(I)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 168
invoke-interface {p0, p1}, Lio/flutter/app/FlutterActivityEvents;->onTrimMemory(I)V
return-void
.end method
.method public onUserLeaveHint()V
.locals 0
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 156
invoke-interface {p0}, Lio/flutter/app/FlutterActivityEvents;->onUserLeaveHint()V
return-void
.end method
.method public onWindowFocusChanged(Z)V
.locals 0
.line 161
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onWindowFocusChanged(Z)V
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->eventDelegate:Lio/flutter/app/FlutterActivityEvents;
.line 162
invoke-interface {p0, p1}, Lio/flutter/app/FlutterActivityEvents;->onWindowFocusChanged(Z)V
return-void
.end method
.method public final registrarFor(Ljava/lang/String;)Lio/flutter/plugin/common/PluginRegistry$Registrar;
.locals 0
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->pluginRegistry:Lio/flutter/plugin/common/PluginRegistry;
.line 87
invoke-interface {p0, p1}, Lio/flutter/plugin/common/PluginRegistry;->registrarFor(Ljava/lang/String;)Lio/flutter/plugin/common/PluginRegistry$Registrar;
move-result-object p0
return-object p0
.end method
.method public retainFlutterNativeView()Z
.locals 0
const/4 p0, 0x0
return p0
.end method
.method public final valuePublishedByPlugin(Ljava/lang/String;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/String;",
")TT;"
}
.end annotation
iget-object p0, p0, Lio/flutter/app/FlutterFragmentActivity;->pluginRegistry:Lio/flutter/plugin/common/PluginRegistry;
.line 82
invoke-interface {p0, p1}, Lio/flutter/plugin/common/PluginRegistry;->valuePublishedByPlugin(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method