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

Commit e63b11d5 authored by Anton Potapov's avatar Anton Potapov Committed by Automerger Merge Worker
Browse files

Merge "Move NetworkControllerImpl to @LongRunning thread to prevent...

Merge "Move NetworkControllerImpl to @LongRunning thread to prevent @Background from being stuck" into tm-qpr-dev am: e64a163f am: a3811bfa

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621569



Change-Id: I445aa8a2317fc09171f139332c299437197d5b72
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 124bbb78 a3811bfa
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ import com.android.systemui.Dumpable;
import com.android.systemui.R;
import com.android.systemui.broadcast.BroadcastDispatcher;
import com.android.systemui.dagger.SysUISingleton;
import com.android.systemui.dagger.qualifiers.Background;
import com.android.systemui.dagger.qualifiers.LongRunning;
import com.android.systemui.dagger.qualifiers.Main;
import com.android.systemui.demomode.DemoMode;
import com.android.systemui.demomode.DemoModeController;
@@ -223,12 +223,15 @@ public class NetworkControllerImpl extends BroadcastReceiver

    /**
     * Construct this controller object and register for updates.
     *
     * {@code @LongRunning} looper and bgExecutor instead {@code @Background} ones are used to
     * address the b/246456655. This can be reverted after b/240663726 is fixed.
     */
    @Inject
    public NetworkControllerImpl(
            Context context,
            @Background Looper bgLooper,
            @Background Executor bgExecutor,
            @LongRunning Looper bgLooper,
            @LongRunning Executor bgExecutor,
            SubscriptionManager subscriptionManager,
            CallbackHandler callbackHandler,
            DeviceProvisionedController deviceProvisionedController,