mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Add app chip flag to prevent skipping settledProgress and fullscreenProgress for the current IconView.
Bug: 398318613 Flag: com.android.launcher3.enable_overview_icon_menu Test: Manual Test: systemui-thermal-throttling-3-suite Change-Id: I96d8889752287510e760d4367b2ef981689e106d
This commit is contained in:
@@ -309,10 +309,9 @@ constructor(
|
||||
// progress: 0 = show icon and no insets; 1 = don't show icon and show full insets.
|
||||
protected var fullscreenProgress = 0f
|
||||
set(value) {
|
||||
if (value != field) {
|
||||
field = Utilities.boundToRange(value, 0f, 1f)
|
||||
onFullscreenProgressChanged(field)
|
||||
}
|
||||
if (value == field && enableOverviewIconMenu()) return
|
||||
field = Utilities.boundToRange(value, 0f, 1f)
|
||||
onFullscreenProgressChanged(field)
|
||||
}
|
||||
|
||||
// gridProgress 0 = carousel; 1 = 2 row grid.
|
||||
@@ -492,10 +491,9 @@ constructor(
|
||||
// 1 = The TaskView is settled and no longer transitioning
|
||||
private var settledProgress = 1f
|
||||
set(value) {
|
||||
if (value != field) {
|
||||
field = value
|
||||
onSettledProgressUpdated(field)
|
||||
}
|
||||
if (value == field && enableOverviewIconMenu()) return
|
||||
field = value
|
||||
onSettledProgressUpdated(field)
|
||||
}
|
||||
|
||||
private val settledProgressPropertyFactory =
|
||||
|
||||
Reference in New Issue
Block a user