Skip to content

Commit 00480dd

Browse files
committed
#257 fix tests and style
1 parent 8c8e020 commit 00480dd

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

app/src/main/java/io/github/sds100/keymapper/actions/ActionDataEntityMapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ object ActionDataEntityMapper {
356356
ActionId.PREVIOUS_TRACK_PACKAGE,
357357
ActionId.FAST_FORWARD_PACKAGE,
358358
ActionId.REWIND_PACKAGE,
359-
-> {
359+
-> {
360360
val packageName =
361361
entity.extras.getData(ActionEntity.EXTRA_PACKAGE_NAME).valueOrNull()
362362
?: return null

app/src/main/java/io/github/sds100/keymapper/backup/BackupManager.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class BackupManagerImpl(
225225
val deviceInfoList by rootElement.byNullableArray(BackupContent.NAME_DEVICE_INFO)
226226

227227
val migratedKeyMapList = mutableListOf<KeyMapEntity>()
228-
228+
ac
229229
val keyMapMigrations = listOf(
230230
JsonMigration(9, 10) { json -> Migration9To10.migrateJson(json) },
231231
JsonMigration(10, 11) { json -> Migration10To11.migrateJson(json) },
@@ -249,6 +249,9 @@ class BackupManagerImpl(
249249

250250
// Do nothing. It just removed the group name index.
251251
JsonMigration(17, 18) { json -> json },
252+
253+
// Do nothing. Just added the accessibility node table.
254+
JsonMigration(18, 19) { json -> json },
252255
)
253256

254257
if (keyMapListJsonArray != null) {

0 commit comments

Comments
 (0)