summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author chelseahao <chelseahao@google.com> 2023-11-29 12:56:23 +0800
committer chelseahao <chelseahao@google.com> 2023-12-14 16:40:10 +0800
commit5a820f87d6b70bb7a04d69c8953064d26552df58 (patch)
treeecf65f4c3944e733c10df0ac283bfa32b0aeeb04
parent9fde926e3540eaa1bcbada24c0cb90bf4005617b (diff)
Caching height bluetooth tile dialog to avoid double animation.
Test: manual Bug: b/310135234 Change-Id: I88869fff6b27addb3b8dca1b0f61c10c7bc18a70
-rw-r--r--packages/SystemUI/src/com/android/systemui/Prefs.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Prefs.java b/packages/SystemUI/src/com/android/systemui/Prefs.java
index 70750a1dafb5..0be206d1f75a 100644
--- a/packages/SystemUI/src/com/android/systemui/Prefs.java
+++ b/packages/SystemUI/src/com/android/systemui/Prefs.java
@@ -73,7 +73,8 @@ public final class Prefs {
Key.ACCESSIBILITY_FLOATING_MENU_POSITION,
Key.HAS_CLICKED_NUDGE_TO_SETUP_DREAM,
Key.HAS_DISMISSED_NUDGE_TO_SETUP_DREAM,
- Key.HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED
+ Key.HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED,
+ Key.BLUETOOTH_TILE_DIALOG_CONTENT_HEIGHT,
})
// TODO: annotate these with their types so {@link PrefsCommandLine} can know how to set them
public @interface Key {
@@ -119,6 +120,7 @@ public final class Prefs {
String HAS_CLICKED_NUDGE_TO_SETUP_DREAM = "HasClickedNudgeToSetupDream";
String HAS_DISMISSED_NUDGE_TO_SETUP_DREAM = "HasDismissedNudgeToSetupDream";
String HAS_ACCESSIBILITY_FLOATING_MENU_TUCKED = "HasAccessibilityFloatingMenuTucked";
+ String BLUETOOTH_TILE_DIALOG_CONTENT_HEIGHT = "BluetoothTileDialogContentHeight";
}
public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) {