mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Fix crash on startup
Fixed a typo that was causing a force close on database creation.
This commit is contained in:
parent
e37491ab56
commit
376f9c53a0
@ -37,7 +37,7 @@ public class ActivityDatabaseHandler extends SQLiteOpenHelper {
|
|||||||
+ KEY_INTENSITY + " SMALLINT,"
|
+ KEY_INTENSITY + " SMALLINT,"
|
||||||
+ KEY_STEPS + " TINYINT,"
|
+ KEY_STEPS + " TINYINT,"
|
||||||
+ KEY_TYPE + " TINYINT,"
|
+ KEY_TYPE + " TINYINT,"
|
||||||
+ " PRIMARY_KEY (" + KEY_TIMESTAMP + "," + KEY_PROVIDER + ") ON CONFLICT REPLACE)" + getWithoutRowId();
|
+ " PRIMARY KEY (" + KEY_TIMESTAMP + "," + KEY_PROVIDER + ") ON CONFLICT REPLACE)" + getWithoutRowId();
|
||||||
db.execSQL(CREATE_GBACTIVITYSAMPLES_TABLE);
|
db.execSQL(CREATE_GBACTIVITYSAMPLES_TABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,4 +127,4 @@ public class ActivityDatabaseHandler extends SQLiteOpenHelper {
|
|||||||
|
|
||||||
return GBActivitySampleList;
|
return GBActivitySampleList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user