Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37391eb8 authored by Matthew Eastman's avatar Matthew Eastman
Browse files

Invoke provideDataStream callback on WearableSensingService death.

Keeps track of the statusCallback provided by the client to the
WearableSensingManager in provideDataStream and invokes it with
STATUS_SERVICE_UNAVAILABLE when the remote WearableSensingService dies.

We do not need to call the provideConnection or
provideConcurrentConnection callbacks on binder death because they are
invoked with STATUS_CHANNEL_ERROR when the WearableSensingService dies.

Tested with CTS tests in ag/35512608 and locally by killing the
WearableSensingService process with ADB and verifying that the callback
was invoked with STATUS_SERVICE_UNAVAILABLE.

Change-Id: I8a7677714c0371f0cd754e4c589c11b14397b2c7
Bug: 441336476
Flag: EXEMPT BUGFIX
parent 4240e525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment