src/com/android/server/telecom/ConnectionServiceWrapper.java
100755 → 100644
+72
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Unbind CS if connection is not created within 15 seconds. This CL adds a check to ensure that connection creation occurs within 15 seconds after binding to that ConnectionService. If the connection/conference is not created in that timespan, this CL adds logic to manually unbind the ConnectionService at that point in time. This prevents malicious apps from keeping a declared permission in forever even in the background. Bug: 293458004 Test: manually using the provided apk + atest CallsManagerTest Flag: EXEMPT Security High/Critical Severity CVE Change-Id: I30caed1481dff5af2223a8ff589846597cee8229 (cherry picked from commit 7aa55ffc) Merged-In: I30caed1481dff5af2223a8ff589846597cee8229