diff options
author | Evan Laird <evanlaird@google.com> | 2018-05-02 12:47:26 -0400 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2018-05-02 12:47:26 -0400 |
commit | feec2ab2f0fac83b5ac58fd6e5a5c94b06c4ec36 (patch) | |
tree | 999e0e020da362e233c6e80fc9b29c522d6fb01c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5685dffd5d76b3f7591ef097dbcbf5a6fec05cc7 (diff) |
Fix DemoMode icon spacing
- Use the same margin on the left of Wi-Fi (2.5dp)
- DemoMode uses the padding of the view it's replacing, and WRAP_CONTENT
for the width of its children
- Fix DemoMode etc dot color
- Don't constrain number of icons if DemoMode is replacing an
unconstrained container
Test: visual;
adb shell settings put global sysui_demo_allowed 1 && \
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 0900 && \
adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi show -e level 4 && \
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e datatype none -e level 4 && \
adb shell am broadcast -a com.android.systemui.demo -e command status -e bluetooth disconnected && \
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100 -e plugged false
Change-Id: I1d1389f9c6d6cb7d6078af5bbe4bc21e42771560
Fixes: 79094455
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions