Fix window insets for pixel 10 devices.

This commit is contained in:
Cody Henthorne
2025-10-06 12:30:56 -04:00
committed by Alex Hart
parent 3e07834c20
commit 585fb3eea8
2 changed files with 51 additions and 22 deletions

View File

@@ -575,13 +575,12 @@ object RemoteConfig {
/** Whether or not the user is an 'internal' one, which activates certain developer tools. */
@JvmStatic
@get:JvmName("internalUser")
val internalUser: Boolean = true
// val internalUser: Boolean by remoteValue(
// key = "android.internalUser",
// hotSwappable = true
// ) { value ->
// value.asBoolean(false) || Environment.IS_NIGHTLY || Environment.IS_STAGING
// }
val internalUser: Boolean by remoteValue(
key = "android.internalUser",
hotSwappable = true
) { value ->
value.asBoolean(false) || Environment.IS_NIGHTLY || Environment.IS_STAGING
}
/** The raw client expiration JSON string. */
@JvmStatic
@@ -1132,11 +1131,11 @@ object RemoteConfig {
)
/** Whether to allow different WindowSizeClasses to be used to determine screen layout */
val largeScreenUi: Boolean = true /*by remoteBoolean(
val largeScreenUi: Boolean by remoteBoolean(
key = "android.largeScreenUI",
hotSwappable = false,
defaultValue = false
)*/
)
@JvmStatic
@get:JvmName("useMessageSendRestFallback")