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

Commit dba40f9f authored by Chinmay Dhodapkar's avatar Chinmay Dhodapkar
Browse files

Change Telecom Excecutor to cached thread pool

This may help with perf issues (ex: CTS ) as more
modules within Telecom use this executor which is
passed into to them by TelecomSystem

(see example CTS bug on AVD https://b.corp.google.com/issues/276283203#comment5)

Fixes: 276966319
Change-Id: Id1ac319f8d8911d87fb1da7506ed0bd0b090f3a1
Test: telecom cts
parent 21131a0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ public class TelecomService extends Service implements TelecomSystem.Component {
                                            .stopFlashNotificationSequence(context);
                                }
                            },
                            Executors.newSingleThreadExecutor(),
                            Executors.newCachedThreadPool(),
                            new BlockedNumbersAdapter() {
                                @Override
                                public boolean shouldShowEmergencyCallNotification(Context