- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
29 lines
1.0 KiB
Java
29 lines
1.0 KiB
Java
package androidx.work.impl;
|
|
|
|
import android.content.Context;
|
|
import androidx.room.migration.Migration;
|
|
import androidx.sqlite.db.SupportSQLiteDatabase;
|
|
import androidx.work.impl.utils.IdGeneratorKt;
|
|
import androidx.work.impl.utils.PreferenceUtils;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class WorkMigration9To10 extends Migration {
|
|
private final Context context;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WorkMigration9To10(Context context) {
|
|
super(9, 10);
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
this.context = context;
|
|
}
|
|
|
|
@Override // androidx.room.migration.Migration
|
|
public void migrate(SupportSQLiteDatabase db) {
|
|
Intrinsics.checkNotNullParameter(db, "db");
|
|
db.execSQL(PreferenceUtils.CREATE_PREFERENCE);
|
|
PreferenceUtils.migrateLegacyPreferences(this.context, db);
|
|
IdGeneratorKt.migrateLegacyIdGenerator(this.context, db);
|
|
}
|
|
}
|