commit | ac48bd944159f981dadd009945f59e7c801a8a5f | [log] [tgz] |
---|---|---|
author | Grant Menke <grantmenke@google.com> | Thu Apr 25 10:43:43 2024 -0700 |
committer | hmtheboy154 <buingoc67@gmail.com> | Sat Feb 15 01:11:06 2025 -0500 |
tree | 117a502cda04aea93d704bddbd17522f9f2efc7c | |
parent | 4f0e6c56e3b26d83df2aed5442e90360b1bf6809 [diff] |
DO NOT MERGE 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 (cherry picked from commit 7aa55ffca65d6166145fd9660e0f7340c07053bf) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:286781dfcb78d8b5c1a77f2390f5251f01943add) Merged-In: I30caed1481dff5af2223a8ff589846597cee8229 Change-Id: I30caed1481dff5af2223a8ff589846597cee8229