- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
67 lines
2.1 KiB
Smali
67 lines
2.1 KiB
Smali
.class public final Landroidx/work/impl/Migration_1_2;
|
|
.super Landroidx/room/migration/Migration;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Landroidx/work/impl/Migration_1_2;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Landroidx/work/impl/Migration_1_2;
|
|
|
|
invoke-direct {v0}, Landroidx/work/impl/Migration_1_2;-><init>()V
|
|
|
|
sput-object v0, Landroidx/work/impl/Migration_1_2;->INSTANCE:Landroidx/work/impl/Migration_1_2;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
.line 141
|
|
invoke-direct {p0, v0, v1}, Landroidx/room/migration/Migration;-><init>(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public migrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
|
.locals 1
|
|
|
|
const-string v0, "db"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "\n CREATE TABLE IF NOT EXISTS `SystemIdInfo` (`work_spec_id` TEXT NOT NULL, `system_id`\n INTEGER NOT NULL, PRIMARY KEY(`work_spec_id`), FOREIGN KEY(`work_spec_id`)\n REFERENCES `WorkSpec`(`id`) ON UPDATE CASCADE ON DELETE CASCADE )\n "
|
|
|
|
.line 143
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
const-string v0, "\n INSERT INTO SystemIdInfo(work_spec_id, system_id)\n SELECT work_spec_id, alarm_id AS system_id FROM alarmInfo\n "
|
|
|
|
.line 144
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
const-string v0, "DROP TABLE IF EXISTS alarmInfo"
|
|
|
|
.line 145
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
const-string v0, "\n INSERT OR IGNORE INTO worktag(tag, work_spec_id)\n SELECT worker_class_name AS tag, id AS work_spec_id FROM workspec\n "
|
|
|
|
.line 146
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|