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

Commit 886fe2b8 authored by Hall Liu's avatar Hall Liu
Browse files

Remove unused Trace.beginSection

Telecom isn't using the trace functionality and it's causing soft
reboots when the component name is too long.

Fixes: 153333762
Test: N/A
Change-Id: I33371dc58bd69dc38650d6e0bb45486c0b38fa11
parent 0cd4c9b4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1498,7 +1498,6 @@ public class InCallController extends CallsManagerListenerBase {
     * @return True if we successfully connected.
     */
    private boolean onConnected(InCallServiceInfo info, IBinder service) {
        Trace.beginSection("onConnected: " + info.getComponentName());
        Log.i(this, "onConnected to %s", info.getComponentName());

        IInCallService inCallService = IInCallService.Stub.asInterface(service);
@@ -1553,7 +1552,6 @@ public class InCallController extends CallsManagerListenerBase {
        }
        mBindingFuture.complete(true);
        Log.i(this, "%s calls sent to InCallService.", numCallsSent);
        Trace.endSection();
        return true;
    }