Commit Graph

12 Commits

Author SHA1 Message Date
d70bbfed13 Guard against Gio's null-view detach event (recents-wipe SIGABRT)
Gio's GioView.onDestroyView sends ViewEvent{View: 0} as its detach
signal when the view is destroyed — i.e. the activity going away on a
recents-wipe. An app that forwards the event to Enable() passes a zero
view through to registerFragment, whose GetObjectClass(null) aborts the
process (JNI DETECTED ERROR: java_object == null in call to
GetObjectClass).

Enable() now returns early on a zero view so all callers are covered
even if they forward the event unfiltered, and registerFragment
null-checks as defense in depth. Same fix as pad (fdbffc9); verified
there on a Pixel 9 Pro / Android 17 where the recents swipe used to
crash the app.
2026-08-20 22:16:23 -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
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
3bc712870d Improve handling of peripheral disconnections and some refactoring. 2019-12-05 08:49:41 -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
321b94a486 Working Android implementation. 2019-11-27 10:44:37 -05:00
99bcd1f4fb Add discoverCharacteristics() for Android. 2019-11-22 23:33:45 -05:00
86e724cc8c Partial android implementation, including Enable(), readyToScan(),
scan(), stopScan(), connectPeripheral(), cancelConnection(), and
DiscoverServices().
2019-11-22 16:15:02 -05:00