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

Commit 2da21f70 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Remove flag paginated_qs_pager_dots_arrows" into main

parents a4bde1d7 4cf786be
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -2104,16 +2104,6 @@ flag {
    }
    }
}
}


flag {
    name: "paginated_qs_pager_dots_arrows"
    namespace: "systemui"
    description: "Show arrows in the pager dots in paginated QS"
    bug: "397156072"
    metadata {
      purpose: PURPOSE_BUGFIX
    }
}

flag {
flag {
    name: "blur_settings_toggle"
    name: "blur_settings_toggle"
    namespace: "systemui"
    namespace: "systemui"
+1 −8
Original line number Original line Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.systemui.qs.panels.ui.viewmodel
package com.android.systemui.qs.panels.ui.viewmodel


import androidx.compose.runtime.getValue
import androidx.compose.runtime.getValue
import com.android.systemui.Flags
import com.android.systemui.classifier.Classifier.QS_SWIPE_SIDE
import com.android.systemui.classifier.Classifier.QS_SWIPE_SIDE
import com.android.systemui.classifier.domain.interactor.FalsingInteractor
import com.android.systemui.classifier.domain.interactor.FalsingInteractor
import com.android.systemui.development.ui.viewmodel.BuildNumberViewModel
import com.android.systemui.development.ui.viewmodel.BuildNumberViewModel
@@ -29,7 +28,6 @@ import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
import dagger.assisted.AssistedInject
import kotlinx.coroutines.awaitCancellation
import kotlinx.coroutines.awaitCancellation
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.flow.flowOf
import kotlinx.coroutines.launch
import kotlinx.coroutines.launch


class PaginatedGridViewModel
class PaginatedGridViewModel
@@ -50,12 +48,7 @@ constructor(
    val showArrowsInPagerDots by
    val showArrowsInPagerDots by
        hydrator.hydratedStateOf(
        hydrator.hydratedStateOf(
            traceName = "showArrowsInPagerDots",
            traceName = "showArrowsInPagerDots",
            source =
            source = pointerDeviceInteractor.isAnyPointerDeviceConnected,
                if (Flags.paginatedQsPagerDotsArrows()) {
                    pointerDeviceInteractor.isAnyPointerDeviceConnected
                } else {
                    flowOf(false)
                },
            initialValue = false,
            initialValue = false,
        )
        )