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

Commit 6ce272f1 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Inline flag for dedicated notif inflation thread

This has been enabled and has been working fine in production. We should inline the flag.

Former Flag: com.android.systemui.dedicated_notif_inflation_thread
Flag: EXEMPT flag removal
Bug: 308967184
Test: none

Change-Id: I2d43fb0f22a85e1c6dc1fb4596f65fbd540091d6
parent 645fcbae
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -956,16 +956,6 @@ flag {
    }
}

flag {
    name: "dedicated_notif_inflation_thread"
    namespace: "systemui"
    description: "Create a separate background thread for inflating notifications"
    bug: "308967184"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "bind_keyguard_media_visibility"
    namespace: "systemui"
+1 −4
Original line number Diff line number Diff line
@@ -99,10 +99,7 @@ object SysUIConcurrencyModule {
    @Provides
    @SysUISingleton
    @NotifInflation
    fun provideNotifInflationLooper(@Background bgLooper: Looper): Looper {
        if (!Flags.dedicatedNotifInflationThread()) {
            return bgLooper
        }
    fun provideNotifInflationLooper(): Looper {
        val thread = HandlerThread("NotifInflation", Process.THREAD_PRIORITY_BACKGROUND)
        thread.start()
        val looper = thread.getLooper()