Rabbit-R1/switch port/smali/smali_classes3/io/flutter/view/FlutterMain.smali

188 lines
5.6 KiB
Smali
Raw Normal View History

2024-05-21 21:08:36 +00:00
.class public Lio/flutter/view/FlutterMain;
.super Ljava/lang/Object;
.source "FlutterMain.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/flutter/view/FlutterMain$Settings;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 20
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static ensureInitializationComplete(Landroid/content/Context;[Ljava/lang/String;)V
.locals 1
.line 77
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
.line 78
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
.line 79
invoke-virtual {v0, p0, p1}, Lio/flutter/embedding/engine/loader/FlutterLoader;->ensureInitializationComplete(Landroid/content/Context;[Ljava/lang/String;)V
return-void
.end method
.method public static ensureInitializationCompleteAsync(Landroid/content/Context;[Ljava/lang/String;Landroid/os/Handler;Ljava/lang/Runnable;)V
.locals 1
.line 91
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
.line 92
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
.line 93
invoke-virtual {v0, p0, p1, p2, p3}, Lio/flutter/embedding/engine/loader/FlutterLoader;->ensureInitializationCompleteAsync(Landroid/content/Context;[Ljava/lang/String;Landroid/os/Handler;Ljava/lang/Runnable;)V
return-void
.end method
.method public static findAppBundlePath()Ljava/lang/String;
.locals 1
.line 98
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
invoke-virtual {v0}, Lio/flutter/embedding/engine/loader/FlutterLoader;->findAppBundlePath()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static findAppBundlePath(Landroid/content/Context;)Ljava/lang/String;
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 104
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object p0
invoke-virtual {p0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object p0
invoke-virtual {p0}, Lio/flutter/embedding/engine/loader/FlutterLoader;->findAppBundlePath()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getLookupKeyForAsset(Ljava/lang/String;)Ljava/lang/String;
.locals 1
.line 116
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
invoke-virtual {v0, p0}, Lio/flutter/embedding/engine/loader/FlutterLoader;->getLookupKeyForAsset(Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getLookupKeyForAsset(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 1
.line 130
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lio/flutter/embedding/engine/loader/FlutterLoader;->getLookupKeyForAsset(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static startInitialization(Landroid/content/Context;)V
.locals 1
.line 46
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object v0
invoke-virtual {v0}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object v0
invoke-virtual {v0, p0}, Lio/flutter/embedding/engine/loader/FlutterLoader;->startInitialization(Landroid/content/Context;)V
return-void
.end method
.method public static startInitialization(Landroid/content/Context;Lio/flutter/view/FlutterMain$Settings;)V
.locals 1
.line 62
new-instance v0, Lio/flutter/embedding/engine/loader/FlutterLoader$Settings;
invoke-direct {v0}, Lio/flutter/embedding/engine/loader/FlutterLoader$Settings;-><init>()V
.line 63
invoke-virtual {p1}, Lio/flutter/view/FlutterMain$Settings;->getLogTag()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Lio/flutter/embedding/engine/loader/FlutterLoader$Settings;->setLogTag(Ljava/lang/String;)V
.line 64
invoke-static {}, Lio/flutter/FlutterInjector;->instance()Lio/flutter/FlutterInjector;
move-result-object p1
invoke-virtual {p1}, Lio/flutter/FlutterInjector;->flutterLoader()Lio/flutter/embedding/engine/loader/FlutterLoader;
move-result-object p1
invoke-virtual {p1, p0, v0}, Lio/flutter/embedding/engine/loader/FlutterLoader;->startInitialization(Landroid/content/Context;Lio/flutter/embedding/engine/loader/FlutterLoader$Settings;)V
return-void
.end method