Release 0.1.45: member phone locations and people-first family navigation

This commit is contained in:
Codex
2026-10-18 21:26:12 +08:00
parent 3b2c046060
commit fdb239b3ed
47 changed files with 914 additions and 287 deletions
@@ -0,0 +1,9 @@
package cn.ucvl.zhaodisplay;
/** Shared scheduling rule, independent of Android for deterministic testing. */
final class LocationCadence {
static int seconds(int value){return value==10||value==60||value==300?value:300;}
static boolean due(long now,long lastAttempt,int interval,boolean firstFix){
return lastAttempt==0||now-lastAttempt>=1000L*(firstFix?10:seconds(interval));
}
}