- 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
141 lines
4.9 KiB
Smali
141 lines
4.9 KiB
Smali
.class public final Landroidx/room/AutoClosingRoomOpenHelper;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
.implements Landroidx/room/DelegatingOpenHelper;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;,
|
|
Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSqliteStatement;,
|
|
Landroidx/room/AutoClosingRoomOpenHelper$KeepAliveCursor;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final autoCloser:Landroidx/room/AutoCloser;
|
|
|
|
.field private final autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.field private final delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/sqlite/db/SupportSQLiteOpenHelper;Landroidx/room/AutoCloser;)V
|
|
.locals 1
|
|
|
|
const-string v0, "delegate"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "autoCloser"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 40
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
iput-object p2, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoCloser:Landroidx/room/AutoCloser;
|
|
|
|
.line 48
|
|
invoke-virtual {p0}, Landroidx/room/AutoClosingRoomOpenHelper;->getDelegate()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Landroidx/room/AutoCloser;->init(Landroidx/sqlite/db/SupportSQLiteOpenHelper;)V
|
|
|
|
.line 49
|
|
new-instance p1, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
invoke-direct {p1, p2}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;-><init>(Landroidx/room/AutoCloser;)V
|
|
|
|
iput-object p1, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public close()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 71
|
|
invoke-virtual {v0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDatabaseName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
invoke-interface {v0}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->getDatabaseName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDelegate()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getReadableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x18
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 66
|
|
invoke-virtual {v0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->pokeOpen()V
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getWritableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x18
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 57
|
|
invoke-virtual {v0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->pokeOpen()V
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setWriteAheadLoggingEnabled(Z)V
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x10
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
invoke-interface {v0, p1}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V
|
|
|
|
return-void
|
|
.end method
|