Add cleanup upon disconnect of CarService
Cleanup in client side is needed upon reboot of CarService.
Otherwise the client will crash due to below error:
IllegalStateException("Client callback is already configured.")
Test: 1. Launch the VmsSubscriberClientSample app
Test: 2. Crash the CarService with adb shell (kill com.android.car)
Test: 3. The sample app will crash
bug: 120159496
Change-Id: Iba5c8da7533a2b77042fa095a5e6f2c03f46785b
Signed-off-by: Lei,RayX <rayx.lei@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
2 files changed