6 Commits
Author SHA1 Message Date
waozi 6d5087fc33 Keep Android background ticks outside practice UI frames 2026-10-25 13:32:14 -03:00
waozi a0060a3252 End the practice when its floating window is closed
Android's X on the picture-in-picture window only hid the window: the
practice kept running in the background, and opening Inbe again brought
it back. Java now flips a closed bit when the window closes while the
activity is stopped, and the frame ends the practice at once, keeping
what the exit prompt's Save keeps, stopping its background timer,
wake lock and notification, and reporting the route so the next frame
does not return to the practice.

Checked on the Moto (Android 9) with Wim Hof: the X ends the practice
within 0.1 s, the session notification goes away, Inbe reopens on
Practice, and the window's expand button still restores the practice.
2026-10-15 11:49:41 -03:00
waozi 6873b71c1d Exchange sync on one thread at a time around picture-in-picture
Picture-in-picture keeps frames running while the activity is paused, so
the background practice timer and the frame both polled the same pending
sync. One applied the response while the other released it, which crashed
Inbe on a Pixel 3a when leaving the app during a practice. The frame and
the timer now take a pump lock and skip the exchange while the other
holds it. The session window test also waits for the app's first state.
2026-10-09 22:21:51 -03:00
waozi a03e05ddc4 Keep Telegram access and share active practices across account devices 2026-10-09 01:06:01 -03:00
waozi 943a2923e2 Include the generated timer host header in the timer host test 2026-09-28 17:17:21 -03:00
waozi b5356aaac7 Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.
2026-09-27 15:40:52 -03:00