Rabbit-R1/switch port/smali/smali_classes3/io/flutter/plugins/GeneratedPluginRegistrant.smali

102 lines
3.2 KiB
Smali
Raw Normal View History

2024-05-21 21:08:36 +00:00
.class public final Lio/flutter/plugins/GeneratedPluginRegistrant;
.super Ljava/lang/Object;
.source "GeneratedPluginRegistrant.java"
# static fields
.field private static final TAG:Ljava/lang/String; = "GeneratedPluginRegistrant"
# direct methods
.method public constructor <init>()V
.locals 0
.line 15
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static registerWith(Lio/flutter/embedding/engine/FlutterEngine;)V
.locals 3
const-string v0, "GeneratedPluginRegistrant"
.line 19
:try_start_0
invoke-virtual {p0}, Lio/flutter/embedding/engine/FlutterEngine;->getPlugins()Lio/flutter/embedding/engine/plugins/PluginRegistry;
move-result-object v1
new-instance v2, Ldev/fluttercommunity/plus/packageinfo/PackageInfoPlugin;
invoke-direct {v2}, Ldev/fluttercommunity/plus/packageinfo/PackageInfoPlugin;-><init>()V
invoke-interface {v1, v2}, Lio/flutter/embedding/engine/plugins/PluginRegistry;->add(Lio/flutter/embedding/engine/plugins/FlutterPlugin;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
const-string v2, "Error registering plugin package_info_plus, dev.fluttercommunity.plus.packageinfo.PackageInfoPlugin"
.line 21
invoke-static {v0, v2, v1}, Lio/flutter/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.line 24
:goto_0
:try_start_1
invoke-virtual {p0}, Lio/flutter/embedding/engine/FlutterEngine;->getPlugins()Lio/flutter/embedding/engine/plugins/PluginRegistry;
move-result-object v1
new-instance v2, Lio/sentry/flutter/SentryFlutterPlugin;
invoke-direct {v2}, Lio/sentry/flutter/SentryFlutterPlugin;-><init>()V
invoke-interface {v1, v2}, Lio/flutter/embedding/engine/plugins/PluginRegistry;->add(Lio/flutter/embedding/engine/plugins/FlutterPlugin;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v1
const-string v2, "Error registering plugin sentry_flutter, io.sentry.flutter.SentryFlutterPlugin"
.line 26
invoke-static {v0, v2, v1}, Lio/flutter/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.line 29
:goto_1
:try_start_2
invoke-virtual {p0}, Lio/flutter/embedding/engine/FlutterEngine;->getPlugins()Lio/flutter/embedding/engine/plugins/PluginRegistry;
move-result-object p0
new-instance v1, Lio/flutter/plugins/videoplayer/VideoPlayerPlugin;
invoke-direct {v1}, Lio/flutter/plugins/videoplayer/VideoPlayerPlugin;-><init>()V
invoke-interface {p0, v1}, Lio/flutter/embedding/engine/plugins/PluginRegistry;->add(Lio/flutter/embedding/engine/plugins/FlutterPlugin;)V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
goto :goto_2
:catch_2
move-exception p0
const-string v1, "Error registering plugin video_player_android, io.flutter.plugins.videoplayer.VideoPlayerPlugin"
.line 31
invoke-static {v0, v1, p0}, Lio/flutter/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_2
return-void
.end method