commit | a5335986179d8cc9f167b78f3ed28e82cb711c80 | [log] [tgz] |
---|---|---|
author | Grace Jia <xiaotonj@google.com> | Mon Aug 17 10:39:41 2020 -0700 |
committer | Grace Jia <xiaotonj@google.com> | Mon Aug 17 19:09:53 2020 +0000 |
tree | ac6678bd5130b45849e8120d1ca9564128389766 | |
parent | f497b48f009f218756b2e4335e7ed09afc44f7e4 [diff] |
Fix crash when service unbinding exception happens. If the call screening service haven't been registered, trying to unbind it will make the device crash. Wrap the unbinding process in a try-catch block to avoid this crash. Bug: 161952276 Test: atest TelecomUnitTests:CallScreeningServiceFilterTest Change-Id: Ic4d8823efc4f91a866e6d5d72a0a94cc3438d232