If a request to the server fails, FMD is not guaranteed to stay alive until the 'retry' alarm is triggered, since we're not holding any wakelocks (bug 1038881). Because of that, the replies to previous server commands (stored in memory in the _reply member variable) may be lost if FMD is killed. To solve this, we can either persist _reply (which I think is the cleanest way to do it), or hold a wakelock while waiting for the 'retry' alarm to fire (which may take up to 5 minutes).
Summary: Persist command replies while shutting down FMD → Persist command replies while shutting down Find My Device
You need to log in before you can comment on or make changes to this bug.