summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2018-07-17 15:55:40 -0400
committerEvan Laird <evanlaird@google.com>2018-07-17 20:41:18 +0000
commitcf845036e5cbca2345bdb548c4a3e1729b699269 (patch)
tree05c16c5b16a63cf536ddfb00ea015f0166361041
parent0e5e46f874a3ecf7ab0a9a7953132a23f5ef59e4 (diff)
downloadbase-cf845036e5cbca2345bdb548c4a3e1729b699269.tar.gz
DO NOT MERGE: Use quick_qs_total_height when QS is not disabled
A change in the logic of QuickStatusBarHeader#updateResources mistakenly used quick_qs_offset_height for the total height of the qqs panel instead of quick_qs_total_height. This caused the quick-quick settings panel to be too short on devices which don't have a large notch. Test: visual, on device without a notch Change-Id: I0deed2560328501e547b04239133e350cdac4ff6 Fixes: 111554577
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
index 36d832647207..07e2a20438e0 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
@@ -303,7 +303,7 @@ public class QuickStatusBarHeader extends RelativeLayout implements
} else {
lp.height = Math.max(getMinimumHeight(),
resources.getDimensionPixelSize(
- com.android.internal.R.dimen.quick_qs_offset_height));
+ com.android.internal.R.dimen.quick_qs_total_height));
}
setLayoutParams(lp);