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

Commit f55e5de6 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Set the Telecom sync lock on the Telecom log class.

This enables the log class to check whether logs are taking place in
the telecom lock.

Bug: 273759792
Test: Manual test with log inspection.
Change-Id: I97ac6ec4b72a20b12020f9ef15ba3ef3e4da7d54
parent a8618ee9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ public class TelecomSystem {
            Executor asyncTaskExecutor) {
        mContext = context.getApplicationContext();
        LogUtils.initLogging(mContext);
        android.telecom.Log.setLock(mLock);
        AnomalyReporter.initialize(mContext);
        DefaultDialerManagerAdapter defaultDialerAdapter =
                new DefaultDialerCache.DefaultDialerManagerAdapterImpl();