Changes the default heartbeat logic to check the loaner's current idle state (active, idle, or locked). If the loaner is locked, it will prevent the heartbeat from being sent. This should mitigate loaner re-assignment when a user returns a device to the loaner shelf without logging out.
Changes the default heartbeat logic to check the loaner's current idle state (active, idle, or locked). If the loaner is locked, it will prevent the heartbeat from being sent. This should mitigate loaner re-assignment when a user returns a device to the loaner shelf without logging out.

PiperOrigin-RevId: 272877888

google/loaner,google/loaner,google/loaner,google/loaner,google/loaner