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

Commit 9338ab69 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Fix incorrect parameter passing in FlagsFactory

I was cleaning up some compiler warnings, and it turned out that this
unused variable warning was actually indicative of a bug!

Flag: EXEMPT bugfix
Test: presubmit
Change-Id: I565d948926752f98ee55124c13881b2b0f4ec350
parent 2298a416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ object FlagsFactory {
        namespace: String = "systemui",
        default: Boolean = false
    ): SysPropBooleanFlag {
        val flag = SysPropBooleanFlag(name = name, namespace = "systemui", default = default)
        val flag = SysPropBooleanFlag(name = name, namespace, default = default)
        checkForDupesAndAdd(flag)
        return flag
    }