author | rleix <rayx.lei@intel.com> | |
Thu, 18 Oct 2018 08:36:56 +0000 (16:36 +0800) | ||
committer | Guobin Zhang <guobin.zhang@intel.com> | |
Thu, 29 Nov 2018 03:51:08 +0000 (03:51 +0000) | ||
commit | 458997325a5bbc513163c13be681f9d0a8ff760f | |
tree | fe69936edcc4556ad39dc8829fda36513bd73989 | tree | snapshot (tar.xz tar.gz zip) |
parent | e9312bd9a70b813309e7ec1af724e0b4316dd478 | commit | diff |
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>
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>