Unbind ConnectionService if connection creation timed out.
Currently we won't check if the connection creation can complete in a
reasonable time after we bind to that ConnectionService. This may allow
malicious app keep its declared permission forever even if it is in
background. Solve this by manually unbind the ConnectionService if the
connection/conference creation can't complete in 15 seconds.
Bug: b/293458004
Test: Manually test using BugFinder app provided in the bug
Change-Id: I0d17564d1977b61770cf7e4a46a8ee353b8b42e8
4 files changed