Pad/cmd/pad
Greg Pomerantz 3afeb0f8d4 Bound the startup browser-dir probe and log startup phases
The relaunch restore probes the saved browser dir with os.ReadDir on
the UI thread before the first frame. A FUSE stall on external storage
there would hang the app on the splash screen (reported on device,
intermittent; the 17:15 occurrence rotated out of logcat before it
could be pulled and left no pad.pad ANR). Two changes:

- dirReadable: run the probe in a helper goroutine with a 2 s deadline;
  a stalled read now costs at most 2 s and falls back to the startup
  directory instead of hanging the splash.
- Phase logs (session load duration, restore, entering frame loop,
  first frame rendered) so the next hang bisects itself: the missing
  line names the blocked phase.

Verified on device: full chain logs within 40 ms of process start.
2026-10-08 22:09:08 -04:00
..
appicon.png IME: map commits against the whole buffer; drop the renderer-side model 2026-09-13 11:57:38 -04:00
impl_android.go Fix SIGABRT on activity destroy: null view in registerFragment 2026-08-20 18:49:00 -04:00
impl_other.go Flush the session snapshot on activity onStop (Android) 2026-08-20 18:24:43 -04:00
jni_android.c Fix SIGABRT on activity destroy: null view in registerFragment 2026-08-20 18:49:00 -04:00
jni_android.h Fix selection-handle drags, menu anchoring, and left-edge back-gesture theft 2026-08-18 13:09:29 -04:00
main.go Bound the startup browser-dir probe and log startup phases 2026-10-08 22:09:08 -04:00
Permissions.java Refactor RealFileSystem to use WorkingDir, and ensure clean shutdown with FlushAll 2026-06-05 11:42:39 -04:00