mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-22 13:58:07 -05:00
Fix some crashes after DB refactor
This commit is contained in:
@@ -28,7 +28,14 @@ public class CardsOnPowerScreenService extends ControlsProviderService {
|
||||
|
||||
public static final String PREFIX = "catima-";
|
||||
static final String TAG = "Catima";
|
||||
private final SQLiteDatabase mDatabase = new DBHelper(this).getReadableDatabase();
|
||||
private SQLiteDatabase mDatabase;
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
mDatabase = new DBHelper(this).getReadableDatabase();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user