summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorHyundo Moon <hdmoon@google.com>2021-10-20 13:35:10 +0900
committerHyundo Moon <hdmoon@google.com>2021-10-20 14:20:41 +0900
commit647f6d93f098bdef00a7db592dd0edad3a88182a (patch)
tree34c6951d3c282e63358d7929e12b8a86f5ef3c0c /core/java/android/inputmethodservice/AbstractInputMethodService.java
parentb2b2a5d03a4f55e7034031e961fbb01ae5bebdd8 (diff)
MR2ProviderServiceProxy: Change onBindingDied() behavior
When onBindingDied() is called, the current active connection should be cleared. Also, internal states of the proxy such as routes and sessions should also be cleared. Also, the Javadoc of onBindingDied() says that we need to unbind and rebind in order to activate the connection again. Therefore, this CL makes the onBindingDied() unbind from the service and rebind if necessary. Bug: 198235819 Test: atest MediaRouter2Test#testTransferToSuccess --rerun-until-failure atest MediaRouter2Test#testTransferCallbackIsNotCalledAfterUnregistered --rerun-until-failure atest MediaRouter2Test --rerun-until-failure Change-Id: I8c80a20b887bde9862f4936c42c99634cb22e352
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions