Add stats collection and first-run on-glasses onboarding app

This commit is contained in:
James Babcock committed 2026-10-10 17:33:32 -07:00
1 parent 84baee9c76
commit 406cefe0c5
73 files changed
+3906 -98

No files matched your search

@@ -507,6 +507,7 @@ class FaceclawBleManager(context: Context) {
override fun onConnectionStateChange(gatt: BluetoothGatt, status: Int, newState: Int) {
val address = gatt.device.address
Log.i(TAG, "onConnectionStateChange: address=$address status=$status newState=$newState")
if (status != BluetoothGatt.GATT_SUCCESS) ConnectionCounters.increment("ble.gatt-status.$status")
val link = links[address]
val current = link?.gatt
if (link == null || (current != null && current !== gatt)) {