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

Commit 17614b6b authored by Brad Hinegardner's avatar Brad Hinegardner Committed by Android (Google) Code Review
Browse files

Merge "Customize lock screen button disappears on rotate" into main

parents c5b8dc18 7c8142ff
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
import androidx.constraintlayout.widget.ConstraintSet.END
import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
import androidx.constraintlayout.widget.ConstraintSet.START
import androidx.constraintlayout.widget.ConstraintSet.VISIBILITY_MODE_IGNORE
import androidx.constraintlayout.widget.ConstraintSet.WRAP_CONTENT
import androidx.core.view.isVisible
import com.android.systemui.Flags.keyguardBottomAreaRefactor
@@ -103,7 +104,8 @@ constructor(
                BOTTOM,
                resources.getDimensionPixelSize(R.dimen.keyguard_affordance_vertical_offset)
            )
            setVisibility(R.id.keyguard_settings_button, View.GONE)
            // Ignore ConstrainSet's default visibility, and let the view choose
            setVisibilityMode(R.id.keyguard_settings_button, VISIBILITY_MODE_IGNORE)
        }
    }