1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-20 14:26:48 +01:00
Andreas Shimokawa bdf403210e Pebble: Fix configuration of certain pebble apps
for appkeys with index 0 it was assumed they were not found becaus JSONObject.getOpt() returns 0 if not found.
Use the getOpt() method variant with a fallback parameter instead and set that to -1 fixes the problem.

(Also fixes a missing debug output)

Fixes #419
2016-10-28 00:03:50 +02:00
..
2015-04-19 02:37:29 +02:00
2016-09-21 09:25:33 +02:00
2016-10-23 23:14:05 +02:00
2015-04-19 02:37:29 +02:00
2015-04-19 02:37:29 +02:00
2015-04-19 02:37:29 +02:00