- 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
78 lines
1.9 KiB
Smali
78 lines
1.9 KiB
Smali
.class public final Landroidx/work/impl/AutoMigration_14_15;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/room/migration/AutoMigrationSpec;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/room/RenameColumn;
|
|
fromColumnName = "period_start_time"
|
|
tableName = "WorkSpec"
|
|
toColumnName = "last_enqueue_time"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 207
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onPostMigrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
|
.locals 7
|
|
|
|
const-string v0, "db"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "UPDATE workspec SET period_count = 1 WHERE last_enqueue_time <> 0 AND interval_duration <> 0"
|
|
|
|
.line 214
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
.line 215
|
|
new-instance v4, Landroid/content/ContentValues;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {v4, v0}, Landroid/content/ContentValues;-><init>(I)V
|
|
|
|
.line 216
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "last_enqueue_time"
|
|
|
|
invoke-virtual {v4, v1, v0}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
|
|
|
|
const-string v2, "WorkSpec"
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const-string v5, "last_enqueue_time = 0 AND interval_duration <> 0 "
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v6, v0, [Ljava/lang/Object;
|
|
|
|
move-object v1, p1
|
|
|
|
.line 217
|
|
invoke-interface/range {v1 .. v6}, Landroidx/sqlite/db/SupportSQLiteDatabase;->update(Ljava/lang/String;ILandroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/Object;)I
|
|
|
|
return-void
|
|
.end method
|