MCPcopy Index your code
hub / github.com/callstack/agent-device / buildAndroidRecoveryNote

Function buildAndroidRecoveryNote

src/daemon/app-log.ts:332–340  ·  view source on GitHub ↗
(
  context: AndroidNetworkRecoveryContext,
  recoveredPids: string[],
)

Source from the content-addressed store, hash-verified

330}
331
332function buildAndroidRecoveryNote(
333 context: AndroidNetworkRecoveryContext,
334 recoveredPids: string[],
335): string {
336 if (context.reason === 'stale-active') {
337 return `Session app log stream was still bound to prior Android PID ${context.trackedPid}. Recovered recent Android HTTP entries from adb logcat for PID set ${recoveredPids.join(', ')}.`;
338 }
339 return `Session app log stream was inactive. Recovered recent Android HTTP entries from adb logcat for PID set ${recoveredPids.join(', ')}.`;
340}
341
342export async function startAppLog(
343 device: DeviceInfo,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected