Carrier config to switch data to primary from cbrs
if primary is OOS
Carrier config to specify back off time from cbrs
to primary
Bug: 143578171
Test: make
Merged-In: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
Change-Id: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
am: 179ab14f4b -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1 84f2b227b0 is in history
Change-Id: Ib9364163124611eaeacef63f6832afc22741f17c
am: 7b03d29737 -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1 b5afc87483 is in history
Change-Id: I56c7746ac49ff4c0769a693e07b052f7788120fb
am: eda85079c2 -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1 84f2b227b0 is in history
Change-Id: I238f43fe7dd1f2abf758aef016a8c6f4ed832a5a
am: bc68c31327 -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1 b5afc87483 is in history
Change-Id: I149ed66a63c683d65a4232c22858a030a00db3e4
am: e385cb9204 -s ours
am skip reason: change_id I5a1618fab529cb0300d4a8e9c7762ee218ca09eb with SHA1 84f2b227b0 is in history
Change-Id: Ia74b8de26e9dc24d23094ff2335e4c9f4320e033
am: 3b0553b17a -s ours
am skip reason: change_id Ib6dcca7901aa549d620448c0165c22270a3042be with SHA1 b5afc87483 is in history
Change-Id: Ibb601e676fc557ee717c12e48c7f48fc63f51f02
Problem:
The context from getPackageContext() does not have the theme set.
Solution:
Use the SystemUI theme to inflate the icon.
And we probably want to have a unified theme for all action chips anyway.
Test: Send myself a message "Code 12345", Verify that the
icon works in both light and dark theme.
Test: Send myself a message "www.android.com", verify that the
app icon is shown properly in both light and dark theme
Fixes: 142972040
Merged-In: I60f5fbea802fe1fdf498e93dfa4fdcebf38af78c
Change-Id: I60f5fbea802fe1fdf498e93dfa4fdcebf38af78c
Root cause: systemui run as user 0 service to handle all of users'
notifications. And, the users can user the copy/cut/paste
functionality.
Solution: To crate @hide API in TextView let SystemUI to mark the
TextView instance should check if the power of
INTERACT_ACROSS_USER_FULL is needed to be restricted.
e.x. Keyguard password textview/Notificaiton entries
Bug: 123232892
Test: manual test
Reference: I6d11e4d6a84570bc2991a8552349e8b216b0d139
Reference: Ibabe13e5b85e5bb91f9f8af6ec07c395c25c4393
Reference: I975baa748c821538e5a733bb98a33ac609bf40a7
Change-Id: I6d11e4d6a84570bc2991a8552349e8b216b0d139
Merged-In: Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937
Doc currently says "The method will return whether [the attribute] is equal to zero", which could be read as "returns true if the attribute is zero", which is incorrect. Rephrased as: "...returns false if the attribute is equal to zero, and true otherwise."
Change-Id: Ie7d763ac2784ecc3a7fb522b4fa583ec8d2644d4
BUG: 143049875
Test: make ds-docs
[Cherrypicked from master]
Smart reply updates are not visually interruptive and bubbles should not
show flyout for them, since flyout text remains the same.
1) Modify NoMan.isVisuallyInterruptive to skip evaluation of fields
irrelevant to bubbles
2) Modify NotificationComparator to rank interruptive notifs higher
3) Pipe bool (isInterruptive) from system_process to SysUI
NoMan --- set bool on notif record and ranking
Ranking --- parcel bool for cross-process transport
SysUI notif entry --- get bool from ranking
SysUI bubble data --- on notif entry update, suppress flyout if isInterruptive=false
Considered adding "isInterruptive" bool to StatusBarNotification.
Did not because "visually-interruptive" is additional information that the
system figured out and SBNs should be limited to info from the app.
4) NoMan --- schedule ranking update if interruptive changes for bubble
Fixes: 138755533
Test: manual - send one sms => flyout appears once
Test: manual - send multiple sms in a row => flyout appears for each one
Test: atest FrameworksUiServicesTests
Test: atest NotificationComparatorTest
Test: atest SystemUITests
Change-Id: Id4b855054689ee73a109bb7cd18004531b41f28c
(cherry picked from commit 0dddc61824d091e48962e36939828cae3cde2aa9)
This change ensures we find ALL known packages that could be consuming a
shared library, not only currently installed ones. Without this check,
the system may get into a state in which we have currently uninstalled
but on-device apps that depend on a shared library that does not exist
on device.
This change also leaves static shared library packages on device even if
it's not installed for any of the remaining users as it could still be
used, but marked uninstalled for users in which it is consumed.
Bug: 141413692
Bug: 142083996
Test: Manual; attempt to remove shared lib after marking its consumer uninstalled.
Test: atest StaticSharedLibsHostTests
Change-Id: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
When we received the wallpaper service disconnected, we could not
immediately know the reason for the disconnection, so if the service
was disconnected because the package was updating, and we received
the update broadcast after 1 second, in original design we will only
revert to the built-in wallpaper. However, it will be too late to bind
the original service after we receiving the package update broadcast.
In this CL, if currently wallpaper service is accidentally disconnected,
we will try to re-bind it for 10 seconds.
Fix: 138973259
Test: Manual install wallpaper service and delay the package update
broadcast on purpose, verify the service can be bind back.
Test: atest WallpaperManagerTest
Change-Id: I11891098164372002b36c558f670621d8c852af8
(cherry picked from commit b87530296b)
This change adds null checks before accessing outInfo in
deleteSystemPackageLI.
Bug: 142083996
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 1747101650)
If volume dialog is not expanded, then we just replace the old default
CarVolumeItem with the new group.
Bug: 141752233
Fixes: 141752233
Test: Manual
Change-Id: Idfa6ad3a1129e069a297f1c1cfd47b40a61773cc
Currently when application calls ImageWriter.newInstance(Surface, int,
int), the default format of UNKNOWN is overridden to surface format in
Java side before being overridden again to user specified format (from
RGBA to IMPLEMENTATION_DEFINED). This breaks backward compatibility with
certain gralloc implementations.
Do not override UNKNOWN format in Java side.
Test: testWriterFormatOverride
Bug: 143637345
Change-Id: Ie61157bca11f623eff2b8c0ed2a988c86da07cb2
[Cherrypicked from master]
Android Messages sends two notifications per message
- New notif
- Smart reply update
This change fixes
- dot bugs that occur when two notifications arrive in quick succession for the same bubble
- regressions for bubble groups
BubbleStackView
- clearFlyoutOnHide: enforce flyout onHide to run once for the bubble it was updated for
- refactors for clarity
BubbleView
- shouldShowDot: refactor show-dot logic into function
updateViews did not account for mSuppressDot
=> dot flashed into view before being animated away by later dot visibility updates
- updateDotVisibility: add missing call to setDotScale if animate=false
Fixes: 138659213
Test: add bubble group with test app
expand bubbles => update dots show for non-expanded bubbles
expand bubbles, click through bubbles => dots go away
expand bubbles, dismiss single bubble => summary (with one less notif) stays in scrim
Test: add mixed bubble group with test app
expand bubbles, dismiss all bubbles => scrim notif for non-bubbling group stays
Bug: 138755533
Test: send android messages sms => flyout and dot behave as expected
Test: create bubble with test app => flyout and dot behave as expected
Test: atest SystemUITests
Change-Id: Ieb2e6c306a0b55aec248bd1582246b67eafab290
(cherry picked from commit f1f2c33f2c)