41 lines
1 KiB
Smali
41 lines
1 KiB
Smali
|
.class public Landroidx/work/impl/WorkDatabaseMigrations$6;
|
||
|
.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 = 0x1
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(II)V
|
||
|
.locals 0
|
||
|
|
||
|
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
|
||
|
.param p1 # Landroidx/sqlite/db/SupportSQLiteDatabase;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
const-string v0, "ALTER TABLE workspec ADD COLUMN `run_in_foreground` INTEGER NOT NULL DEFAULT 0"
|
||
|
|
||
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|