- Change mobile data tile to a static icon with mobile data indicators
- Add the status bar mobile network signal icon to QS footer
- Show SIM status in the carrier text in the QS footer only if the
status is not simply "No SIM card" since that status is shown in the
secondary text of the mobile data tile
Bug: 72540392
Test: visual && runtest systemui
Change-Id: I6fee19887decf68db5084edc8c0e2d23bb1938d1
- Update data content description for the mobile data tile to include no
internet connectivity
- Update strings for telephony icons to show that they are no longer
only used for accessibility purposes
Bug: 74192657
Test: runtest systemui
Change-Id: I95f36e871dedfc9caea53326e8ee198f141fb8a8
PhoneStatusBarView: update correctly on rotation
VolumeUI: properly place window instead of accounting for bars and letterbox
PhoneWindowManager: remove special policy for TYPE_VOLUME_OVERLAY
GlobalActions: Adjust for removal of special policy for volume overlays
Bug: 74195186
Test: Use VolumeUI, GlobalActions, Keyguard and Status bar in all kinds of orientations and cutout configurations
Change-Id: I72281cee202fea0a69766ff0d58ea55dcb5a36e1
Supports two battery formats until all locales are updated
Test: visual
Test: switch language, observe.
Change-Id: Ib8f43601a85f24b8e315d7c67c8693060fc6d32b
Bug: 74386188
Updated intent and API. We were using an explicit intent and there's
changes going on in the Settings team that change the activity name and
enabled states. Updating to an implicit event as with other parts of the
Settings app (e.g. Bluetooth).
Test: Visually
Bug: 73586207
Change-Id: Ifa5125b4770927521d9267569d487319efdb9f9f
Limiting count to 2 (down from 3). Also updated the text color so it no
longer looks clickable.
Test: visually
Bug: 74075675
Change-Id: I86fbb5ae7481f6d19b7e6722832ac600595ad7ea
(cherry picked from commit a853aa7fe5)
Added new callback for data saver and used the data saver enabled state
to determine whether the tile was available (similar to how airplane
mode works).
Test: Visually (via toggling both data saver/hotspot tiles)
Bug: 33003328
Change-Id: I0b0e5e382ab2a9ee13d4412ed059c523795b68c7
(cherry picked from commit a23980f1d8)
Use the signal drawable cutout to represent both data disabled and no
internet state. ag/3690757 displays the description of these icons ("No
internet" or "Mobile data off") in the secondary text of the mobile data
tile.
Bug: 72540392
Test: visual && runtest systemui
Change-Id: I806c41bc96420c42461c0a75b93a485f9a2186f7
Fixes an issue where the status bar would not lay out under
the cutout if it was the IME target.
Change-Id: Ib5d1bbbf6311a0bcd1694a5dc69076f24b88b5e8
Fixes: 74369579
Test: Receive notification with Direct Reply, open direct reply, verify status bar stays under cutout.
This is the systemui side of showing launcher's overview when it decides
to allow users to trigger overview with the overview button in the
navigation bar when quickstep is enabled.
Test: manual - tap overview button in nav bar
Bug: 67957962
Change-Id: I0d59d60d4b4ce1df9dcf2a745f9a5efd415b8582
In very rare circumstances, it's possible for the rotate icon
to be recreated but not have the dark intensity set. Fix this
by applying prior icon's intensity.
Test: manual but heisenbug so very hard to validate
Fixes: 74354524
Change-Id: I042de35e725794b04f5250fa3a2fc5a54d65d143
Overlaying an album with wallpaper colors isn't optimal.
Using the album extracted color also isn't optimal, the color probably
won't meet accessibility guidelines and will have to be stretched
according to the current lock screen theme - which can be even worse.
Test: atest packages/SystemUI/tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java
Change-Id: I53d08713716bd76ee0975c2b4bba5b933201f999
System appears in portrait after restart, however rotation
watcher callbacks don't fire leaving user rotate pref stale
from last boot. Reset in onCreate and replace override logic
with policy's natural rotation.
Test: manual
Change-Id: Ia1f1e5f637708e5c678edbb5cbf9f4125e451103
Slices should completely replace notifications,
they should never be visible at the same time.
Test: send notification, look at AOD
Change-Id: I14f04db1e4541a24f7b9117659e4c9481262aeff
Fixes: 73908553
The logic now mimics the visual overflow logic such that when the
non-static notification icon container gets a virtual end-of-layout, but
that layout has no dots, then it adds the correct amount of padding to
handle the max number of BTW notifications
Test: add 3 min priority notifications when there is one regular
notification. Pulling the shade shouldn't collapse the regular
notification icon
Bug: 73487572
Change-Id: I77cc3821f7c93a5ba88d1419fb5594ccd9e1616d
- Added logic for streams to be muted by dnd (unassociated with ringer)
Test: runtest -x frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java
Bug: 73362490
Change-Id: I1101e67282f7331497e91eb510d2bf4f1ea6b4b1
An external agent is setting the background of the ScrimView.
This causes washed out lock screen and AOD flickering.
It's not clear what's doing this so I'm adding a Log.wtf and keeping the
backbround from being set.
PS: also formatted the xml and removed an unused method
Change-Id: I65dce9ce2b097b572c78605e0524b3854f46457f
Fixes: 71527665
Fixes: 68877998
Test: manually add a ripple to packages/SystemUI/res/layout/super_status_bar.xml
(cherry picked from commit c2aa8d2a2d)
The wrong home icon was shown on startup because it takes sometime for
the disabled flags to set disable recents flag that determines if
overview is enabled. When it changes to be true update nav bar icons.
Test: boot phone and look at nav bar
Change-Id: Ib1c00cfa1c3eb0444ccc985dfaf1b3c74e790692
Fixes: 74071465
- After dismissing, don't show again until 5 app launches
- Don't count the same task id towards that 5 (or the 2 before
showing the first time)
Test: manual, launch a couple apps and verify onboarding shows;
continues showing until I dismiss it; shows again after launching
5 apps (different activities in the same app don't count)
Bug: 73392035
Bug: 70180942
Change-Id: Icff567e3418097c3503d2f322cf829a9efc195e7
To use the rotate nav button in fullscreen the navbar must
become visible. This normally requires a user gesture which
makes it hard to hit the button given its normal timeout
duration. Make it easier to tap by effectively extending the
timeout if the suggestion is given when the navbar is
invisible.
Test: manual with fullscreen testing app
Change-Id: I54ac3dfb590df9b9a039c53984623497ca18fcb5