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

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

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

parents 16291a3d 1637f8e3
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -164,6 +164,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 {