1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-29 09:47:09 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget
Daniele Gobbetti 76be0ae676 Pebble background webview improvements:
remove the pre-KITKAT checks as the minsupportedversion is KITKAT
fix the currentPosition override
move the returned configuration parsing to onResume method (where it was previously) as it seems more reliable
pass the whole GBDeviceEventAppMessage object, this way the jsInterface in the webview doesn't need to be static anymore
change the way the webview is initialized, this way the context doesn't need to be static anymore
use runOnUiThread instead of the Handler .. MainLooper to post the commands to the webview instance
comment a couple of custom message handler for weather as the watchapp seem to work well with JS alone
add a couple of log messages for debugging

known issue: legacy app configuration pasting does not work.
2017-02-28 21:11:26 +01:00
..
gadgetbridge Pebble background webview improvements: 2017-02-28 21:11:26 +01:00