Commit Graph

13 Commits

Author SHA1 Message Date
99598c14fe Request BLUETOOTH_SCAN/CONNECT at onAttach on API 31+
Activity.requestPermissions is unreliable from non-UI threads / late
timing on Android 17 (createDeviceContext garbage device id); the
fragment's onAttach request path works. Skip the legacy location
request on API 31+ (BLUETOOTH_SCAN is neverForLocation). Rebuild
Ble.jar.
2026-08-21 20:28:43 -04:00
876ea68622 Use commitNowAllowingStateLoss (API 24+) for fragment registration
The register() runnable can run after the activity has saved its
state (e.g. app started in the background), in which case commitNow
throws IllegalStateException and crashes the app. Rebuild Ble.jar.
2026-08-21 19:52:33 -04:00
90ab682a44 Port to gio gioui.org@20200829. 2020-09-05 14:12:29 -04:00
b0b310a7b0 Bump gio version, use window.Do() instead of RegisterFragment(). 2020-06-19 14:35:49 -04:00
7a583419c5 BlessedConnect.java: make sure gio shared library is loaded
before calling native methods.
2020-02-04 17:36:39 -05:00
1601787ecf Switch back to Blessed library after bug fixes. 2019-12-10 09:13:32 -05:00
4ae98b622b Revert "Conversion to Blessed library for Android -- interim check-in,"
This reverts commit 4db9b4a5ed.
2019-12-06 14:06:36 -05:00
6bad5ba08e Revert "Further debuging version."
This reverts commit fc0cab1ee8.
2019-12-06 14:03:52 -05:00
2edbeb8714 Revert "Working Android version using Blessed library."
This reverts commit e7f82ac9e7.
2019-12-06 14:03:27 -05:00
3bc712870d Improve handling of peripheral disconnections and some refactoring. 2019-12-05 08:49:41 -05:00
e7f82ac9e7 Working Android version using Blessed library. 2019-12-04 17:25:10 -05:00
fc0cab1ee8 Further debuging version. 2019-12-04 16:09:54 -05:00
4db9b4a5ed Conversion to Blessed library for Android -- interim check-in,
notifications do not work.
2019-12-04 14:47:56 -05:00