Race condition caused by setting the container to INVISIBLE regardless
of new status.
Change-Id: I28b2d8bf5ae6587ac8aa5ab807e835a7fd2a97f9
Fixes: 111137359
Test: Visual and runtest
Created new style with same parameters as before but using
placeholder for Google Sans.
Fixes: 79166531
Test: Manual
Change-Id: I12cc34c4fa8e0eeb4e94dafe64f0d6664c8d0da0
The TileAdapter associated with the RecyclerView used to Edit
the Quick Settings was modified to contain a TextView as a Header.
Position arguments were corrected by 1 to support this. In particular
those of the Accessibility contexts.
Padding in the TextView as well as the RecyclerView was reduced to
minimize the movement of the tiles when switching into the Edit View.
This is not completely achieved and it is dependent on the size of
the font.
Change-Id: Ic89cec8cae15c238ac6e0b1c554c06c6b7086bab
Bug: 77326457
Bug: 36076720#24
Test: Manual - Screenshots
Menu Ime for 3 button layout cannot be hit because nearesttouchframe is
trying to hit the framelayout of menu_ime that contains nothing inside.
Making it check for non-focused buttons will allow it to hit the recents
button.
Change-Id: Id464e9931345911ffba374a1349536cbf270abdf
Fixes: 112432937
Test: atest NearestTouchFrameTest
The NearestTouchFrame spanned the entire nav bar that took any tap to
hit the nearest button such as the back button. Reducing it prevents
taps from the edge of the nav bar. Related: ag/4179853
Change-Id: I25a73cc995ed8d479ca9d5da85ec8a7cb629769d
Fixes: 112298917
Test: tap the left side of the nav bar
Keyguard default show NO SIM earlier than Telephony/Subscription callback
Refactor CarrierText & KeyguardUpdateMonitor
- Replace setup flag by resource attr(showMissingSim/showAirplaneMode)
- Remove setDiplayFlags API, and add mTelephonyCapable flag
- Implement MSG_TELEPHONY_CAPABLE in KeyguardUpdateMonitor
- Default do not show AirplaneMode & NO_SIM label unless define in xml
Bug: 109731429
Test: atest SystemUITests
atest frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Manual:
1) Insert SIM and reboot device, only show "No Service"->"Operator"
2) Remove SIM and reboot device, only show "No SIM"
3) Enable AirplaneMode reboot, only show "Airplane mode"
4) Insert SIM and trigger sysui crash, state same as 1)
5) Remove SIM and trigger sysui crash, state same as 2)
6) Enable APM trigger sysui crash, state same as 3)
7) Enable APM & WFC, turn on wifi in keyguard showing
-> "Airplane mode" -> "" -> "WiFi Calling"
8) Enable APM & WFC, turn off wifi in keyguard showing
-> "Wifi Calling" -> "Airplane mode"
Change-Id: I4459997420484431751a4c088aa3856724affe6a
This value has been removed from the support library. Instead, fix the
color to light as the user switcher is always dark.
Bug: 112040188
Test: built system UI and ensure that the color is always light for the
user switcher ripple
Change-Id: I49dae3b6869fa04aadf962ef8ddb0a6d2c2c8e37
This attribute has been deprecated. Instead, set the color of the list
through the theme.
Bug: 111807700
Test: build SystemUI and verify the list on the user picker page and
QuickSettings.
Change-Id: I173cb98335619d129720a6c7514dba1449989abf
This is the last activity that depends on SettingsDrawerActivity. This
activity doesn't actually need any functionality from
SettingsDrawerActivity, so we can switch to a standard Activity to
reduce dependency and improve performance.
Bug: 77600770
Test: adb shell am start -a com.android.settings.action.DEMO_MODE
Change-Id: I78ff488be764ae996a96ad4eee05a8c1774a1835
No functional changes. Reorganized logic under either row, stack,
logging, or row/wrapper. Haven't moved all classes over since there's
some classes that create conflicts due to weird use of
package-private/protected (primarily waiting for HUN and shelf classes).
Test: built, ran, used notifications
Bug: 110802404
Change-Id: Ia2152603bdbeb12c522360193511946c843b9266
Menu container contains no icons but holds a few buttons that may appear
later but using a mouse a square background will appear because it has
focus. Remove the focus to remove the feedback background ripple.
Test: use mouse and tap the area right of the home button
Change-Id: If4e57c1a27ca7fbe38712dc1ac6f9e5d2bb76c49
Fixes: 110042464
Menu ime button was pushing the recents button out of screen because of
the order of the nav layout (where right side was before the recents
button) and menu ime button took full width (match parent). Fixed with
a fixed width for menu ime button to show the recents button on nav bar
for tablets (screen density smaller than ~250).
Change-Id: I61a0206e40b7a69d52db4a97a1b76767ba752f85
Fixes: 77913318
Test: 'adb shell wm density 240' on phone
- Add a separated button on power menu to launch emergency dialer.
- Change HardwareUiLayout.java FrameLayout to LinearLayout, let it can
display separated button.
- Add a flag to recognize separated button should show/hide, if
EmergencyAffordance(India) enabled, separated button will hide,
otherwise power menu will display separated button & power
menu last item won't get white background.
Test: Manually, use "adb shell settings put global faster_emergency_phone_call_enabled 1" to show/hide separated emergency option, press emergency option will go to emergency dialer.
Bug: 80376488
Change-Id: I8e6bb72ce7b8cecdb6bd01150b53f61f1515dbb1
Added a custom FrameLayout that computes the correct height if the text
overlaps with the button and re-positions the button to be below the
text as necessary.
Test: Manually tested w/ different text, including layout bounds + RTL
Change-Id: I80b0eb4ce3a108d350924d6a7b964cd0b59f1cac
Fixes: 77810898
Bug: 109839789
SignalCluster view used to have a start-margin of 2.5dp, so now both the
wifi icon and the mobile data indicator need that padding (because you
will only ever see the data type indicator if wifi is not on.
Test: visual
Change-Id: I7b34fd80eb222610fc7df76be7a76c0f5f6e0fbb
Fixes: 110225644
Fixes: 80444085
Test: Build system and open quick settings and user panel on mojave.
Ensure no breakages.
Change-Id: I7b1fb5c4b39f7b6c7f9191d8a28bb20e453c4a63
Different navbar layouts are loaded via config.xml depending
on if Quickstep is enabled. A contextual button frame is added
to replace the right nav buttons so different styling can be
applied. New back, rotate and keyboard icons are added.
Maintains support for custom navbar layouts. Adds support for
nested reversable elements, needed for contextual button frame.
Fixes navbar gravity support by using RelativeLayout's gravity
and top/bottom switching.
Change-Id: I5e24b2392c377313d421c0f95c3a7a0b99f32590
Fixes: 79930722
Fixes: 79930974
Fixes: 80164476
Test: manual, crash sysui, test against a11y, gb menu, rotate
Also remove it from the mobile signal group when it's not needed
Test: visual; demo mode
Change-Id: Iaade5144e5ad762e6a57e49c52b9c5272bac8b48
Fixes: 77822905
Fix bug when pressing the add user cancel button results in a black screen
Test: Tested on Mojave
Bug: 80187163
Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6