Removed an unused helper from the Android push payload builder (#16116)

This commit is contained in:
Kriday Dave authored and GitHub committed 2026-10-05 09:43:34 -07:00
1 parent 5c03ced3be
commit 31f9d832f4
1 file changed
-6
@@ -5,12 +5,6 @@ import {
} from "./agentActivityAggregate.ts";
import { agentActivityExpiresAt } from "./agentActivityPayloads.ts";
export function androidActivityHero(aggregate: RelayAgentActivityAggregateState) {
return [...aggregate.activities].sort(
(a, b) => activityPhasePriority(a.phase) - activityPhasePriority(b.phase),
)[0];
}
/** Android focuses the priority thread while retaining rows for older clients. */
export function androidActivityData(aggregate: RelayAgentActivityAggregateState | null) {
const rows = [...(aggregate?.activities ?? [])].sort(