Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d6ffb20d authored by Michael Bestas's avatar Michael Bestas
Browse files

Merge tag 'android-security-16.0.0_r3' into staging/lineage-23.0_merge-android-security-16.0.0_r3

Android security 16.0.0 release 3

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCaS3ZPwAKCRDorT+BmrEO
# eE/DAJ4kTtFeIn4hcUsKUL+ON2IUR3ZssQCfVXNtQ6nFgZvMOT9i1wSYl7Gne4Q=
# =4u6g
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Dec  1 20:06:55 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Pranav Madapurmath
# Via Android Build Coastguard Worker
* tag 'android-security-16.0.0_r3':
  Catch IllegalArgumentException when unbinding CallRedirectionServiceConnection
  Prevent infinite SPEAKER_OFF looping

Change-Id: I6e4c0b5a747ab99bee7906963c5fd78a41f91b67
parents 1cfce4f5 014da3f4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -136,8 +136,12 @@ public class CallRedirectionProcessor implements CallRedirectionCallback {
            Log.i(this, "notifyTimeout: call redirection has timed out so "
                    + "unbinding the connection");
            if (mConnection != null) {
                try {
                    // We still need to call unbind even if the service disconnected.
                    mContext.unbindService(mConnection);
                } catch (IllegalArgumentException e) {
                    Log.e(this, e, "Error unbinding the connection");
                }
                mConnection = null;
            }
            mService = null;