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

Commit 51f1cc2e authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Inline flag for dedicated notif inflation thread" into main

parents 31c05080 6ce272f1
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
@@ -107,10 +107,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()