57 lines
1.3 KiB
Smali
57 lines
1.3 KiB
Smali
.class Landroidx/work/impl/WorkDatabaseMigrations$7;
|
|
.super Landroidx/room/migration/Migration;
|
|
.source "WorkDatabaseMigrations.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/work/impl/WorkDatabaseMigrations;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"startVersion",
|
|
"endVersion"
|
|
}
|
|
.end annotation
|
|
|
|
.line 240
|
|
invoke-direct {p0, p1, p2}, Landroidx/room/migration/Migration;-><init>(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public migrate(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"database"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "ALTER TABLE workspec ADD COLUMN `out_of_quota_policy` INTEGER NOT NULL DEFAULT 0"
|
|
|
|
.line 243
|
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|