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
Loading
Please register or sign in to comment