summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2022-03-15 01:13:13 -0700
committerAhaan Ugale <augale@google.com>2022-03-15 08:20:58 +0000
commit52e0dafcb3cd7043ee53220d3785c3056491213e (patch)
treec5095aa6ff5ec29b784c1b7c9e8d411359158c78 /core/java/android/util/SparseSetArray.java
parentc515a0aed99cbada7b273fa581b8f0649bafdb21 (diff)
Fix ServiceConnector failing unbind if not connected.
ServiceConnector does not call unbindService when requested to unbind if the service isn't currently connected. This causes issues like leaving zombie Trusted Hotword processes bound forever if the process is stopped ('restarted') immediately after being created (say if audio server crashes twice in quick succession). Fix: 223845998 Test: manual - locally comment out code that immediately connects the service, then `for i in {1..10}; do adb shell cmd voiceinteraction\ restart-detection; done` - without fix results in an extra process Change-Id: I6a8c01390130bcec9aff1460004343ca2b207031
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions