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

Commit fb48ddcc authored by Grace Jia's avatar Grace Jia Committed by Automerger Merge Worker
Browse files

Fix vulnerability in CallRedirectionService. am: 29b52e3c am: 1637f8e3 am:...

Fix vulnerability in CallRedirectionService. am: 29b52e3c am: 1637f8e3 am: 72e92682 am: a55cc01a am: d24ae916 am: 39828d2e am: 8a92a8f0 am: 72265bc0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/24151559



Change-Id: I49b1d1662305152ee42017933415b2e6b075dd23
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents eda706fc 72265bc0
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -175,6 +175,20 @@ public class CallRedirectionProcessor implements CallRedirectionCallback {
                    Log.endSession();
                }
            }

            @Override
            public void onBindingDied(ComponentName componentName) {
                // Make sure we unbind the service if binding died to avoid background stating
                // activity leaks
                Log.startSession("CRSC.oBD");
                try {
                    synchronized (mTelecomLock) {
                        finishCallRedirection();
                    }
                } finally {
                    Log.endSession();
                }
            }
        }

        private class CallRedirectionAdapter extends ICallRedirectionAdapter.Stub {