Commit Graph

642239 Commits

Author SHA1 Message Date
Santiago Etchebehere
e331fe8de2 Use the colors from the last wallpaper applied
The latest applied wallpaper should be the source of system
colors

Bug: 186498019
Test: atest ThemeOverlayControllerTest
Change-Id: Ie76163a7fa124f499759043f261ad5a1ce700cd9
2021-05-25 17:31:39 -07:00
Sergey Volnov
76660ef721 Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev 2021-05-25 21:41:58 +00:00
Sergey Volnov
12d855bbb5 Merge "Make builder public for HotwordRejectedResult." into sc-dev 2021-05-25 21:41:15 +00:00
TreeHugger Robot
2ee855c32c Merge "Make sure to always fade the split shade media container" into sc-dev 2021-05-25 21:31:09 +00:00
TreeHugger Robot
b3ca17a237 Merge "Fixes issues with multiple ringer rows (which also addresses a few RTL/landscape issues)." into sc-dev 2021-05-25 21:29:06 +00:00
TreeHugger Robot
364128ac07 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 20:34:37 +00:00
Chris Li
926a7ee3f3 Merge "[DO NOT MERGE] Add lihongyu@ and mariiasand@ to WM OWNERS file" into sc-dev 2021-05-25 20:24:40 +00:00
TreeHugger Robot
00188ea168 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 20:17:27 +00:00
Li Li
a80340f9c6 Merge "Freezer kill reason in App Process Kill Stats" into sc-dev 2021-05-25 19:34:49 +00:00
Felipe Leme
1cbeefce09 Merge "Refactored some com.android.car.settings.enterprise interfaces." into sc-dev 2021-05-25 19:13:18 +00:00
Josh Tsuji
69a17f5705 Fixes issues with multiple ringer rows (which also addresses a few RTL/landscape issues).
The main change here is that the volume rows draw their own rounded backgrounds, aside from the last row, which draws no background since it's already on top of the main dialog background. The ringer icon and the ellipsis also now handle drawing their own rounded backgrounds, rather than having the container handle it. The container needs to draw the background for the main ringer row for Z-ordering reasons.

There's also some drawable trickery to get the landscape drawer expansion to work, so that it has a rounded background behind it when expanded.

Test: in portrait/landscape, with multiple rows (by using talkback/phone call), and in RTL
Fixes: 187202281
Fixes: 188038844
Fixes: 182833291
Change-Id: If969d29780f99b1454edd24e85e51a5d0ebe5d6d
2021-05-25 19:10:41 +00:00
Ahaan Ugale
31f241cc63 Hotword: Add onStopDetection() for software detectors.
For DSP-based detection, stopRecognition() disables detection at the
sound trigger layer. For software detection, the HotwordDetectionService
must be notified so it can stop detection.

Bug: 189236104
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I220d2255e5e500c22723f6e2fbc34860a529f216
2021-05-25 18:59:29 +00:00
Lucas Dupin
2011da8730 Merge "New shader parameters" into sc-dev 2021-05-25 18:54:21 +00:00
Sergey Volnov
a0906a1759 Make builder public for HotwordRejectedResult.
This is the P0 feature we found 10 minutes ago from the client team:
there is currently no way to create HotwordRejectedResult.

Bug: 189189762
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I6260a43dda89ba812ac1a6d6b5486145d6777f84
2021-05-25 18:30:41 +00:00
TreeHugger Robot
87d4c9a9ca Merge "Fix a bug in sentence detection when input is too long." into sc-dev 2021-05-25 18:25:52 +00:00
Josh Tsuji
bc35078cd2 Merge "Fix issue where notifications remained hidden on lock screen after two quick power presses." into sc-dev 2021-05-25 18:19:21 +00:00
TreeHugger Robot
ac769c4d7d Merge "Move FGS while-in-use log message." into sc-dev 2021-05-25 18:15:24 +00:00
TreeHugger Robot
7568c8cd9a Merge "Fix a bug in SpellCheckSpan update logic." into sc-dev 2021-05-25 18:00:58 +00:00
TreeHugger Robot
89583c598d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 746b8545ea -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718513

Change-Id: I11e90bed98ad06925918981b801ac071c1a891a6
2021-05-25 17:48:03 +00:00
Jordan Demeulenaere
7d51e5553a Fix the ongoing call chip animation.
See b/183229367#comment22 for before/after videos.

Bug: 183229367
Test: Click an ongoing call chip
Change-Id: I685c602cfa92a12230af4a687e84428c7c725d77
2021-05-25 17:40:01 +00:00
TreeHugger Robot
746b8545ea Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-05-25 17:31:39 +00:00
TreeHugger Robot
98d126ef0d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 01053643ad -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718515

Change-Id: I353648f9f7f3516bad8094132852bf545c8b94d2
2021-05-25 17:24:49 +00:00
Josh Tsuji
04b48353d7 Merge "Update landscape volume design to match the new portrait design." into sc-dev 2021-05-25 17:15:30 +00:00
TreeHugger Robot
01053643ad Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-25 17:12:50 +00:00
Tiger Huang
ea428b55e7 Merge "Flush the animation if it is canceled" into sc-dev 2021-05-25 17:12:16 +00:00
Chris Li
7cd6bafc86 [DO NOT MERGE] Add lihongyu@ and mariiasand@ to WM OWNERS file
Test: none
Bug: 189223933
Change-Id: I9fc5b19cbe32df0299d42f9c5b68cbf1d8c0d63d
2021-05-25 17:08:39 +00:00
Jeff DeCew
f294d0ba5f Merge "Resolve Notification.Colors once, instead of lazily." into sc-dev 2021-05-25 16:44:59 +00:00
Benedict Wong
211f7f9e20 Merge changes I5ce7fe05,I2d5dc5b9,Ibcc4bdc0 into sc-dev
* changes:
  Add additional dump information for UnderlyingNetworkTracker
  Copy up/downstream bandwidth and TCP buffer sizes from underlying
  Prevent concurrent modification exceptions in VcnManagementService
2021-05-25 16:43:51 +00:00
Lee Shombert
1b1bbfc9f7 Merge "A space-efficient 2D matrix" into sc-dev 2021-05-25 16:40:39 +00:00
Matt Casey
06b87b84dc Merge "Separate share icon color from button text." into sc-dev 2021-05-25 16:38:24 +00:00
Lucas Dupin
8a7d4e2b2a New shader parameters
- Fading out sparkles earlier
- New density and size for sparkles
- Overall timing tweaks
- New turbulence parameters

Test: manual
Fixes: 188453593
Fixes: 188454455
Change-Id: I70e364c84cc04f653618ea811a817d9f82895af5
2021-05-25 09:35:17 -07:00
Bill Yi
7974c35e5d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e76272c308193ffdcbca7aa00fb4aa0b15e66b9
2021-05-25 16:17:34 +00:00
Alex Salo
dfc852cad5 Merge "Ensures RotationRequest#mLock can only accquried by main thread." into sc-dev 2021-05-25 15:37:19 +00:00
Bill Yi
e2ba1200d5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5051482e8702ae6d0e5bad13ce2fa2127664ebc8
2021-05-25 15:27:02 +00:00
Vadim Caen
fc1efcb428 Merge changes from topic "splashscreen-surface" into sc-dev
* changes:
  Do not reparent the SC when package is already realeased
  Display Splashscreen AVD in a SurfaceView
2021-05-25 15:24:08 +00:00
Bill Yi
0c4274eb01 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1b5abb9de9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14709459

Change-Id: I5362199e49024d277fb2fdb29acd53099915e263
2021-05-25 15:07:48 +00:00
Alison Cichowlas
7014d28df9 Merge "Set RESULT_OK on exit via copy button." into sc-dev 2021-05-25 15:04:25 +00:00
Bill Yi
a22389a79a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5d0bb5658b637e860e7c7abe4e4645a6f4528efa
2021-05-25 15:02:03 +00:00
Bill Yi
a0bb572cde Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11136f07b2d88edb4efceef52333ac2dcfd52608
2021-05-25 14:45:47 +00:00
Bill Yi
3188bdda53 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7353c0f0a5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14709460

Change-Id: Ib666c464a29256d107cad8ea89548e60d8bec8be
2021-05-25 14:42:05 +00:00
TreeHugger Robot
61efe0e417 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 14:34:56 +00:00
TreeHugger Robot
c7aa640da3 Merge "Create a new config for attentional haptics OGG resource" into sc-dev 2021-05-25 14:32:08 +00:00
Jeff Sharkey
023570d056 Merge "Retire preliminary FGS deferral control API" into sc-dev 2021-05-25 14:27:07 +00:00
Anton Hansson
689f158229 Merge "Revert "Add bootclasspath_fragments to platform-bootclasspath."" into sc-dev 2021-05-25 14:18:43 +00:00
Matt Casey
a229cd03cf Separate share icon color from button text.
Different background, doesn't need the textColorPrimaryInverse
workaround.

Bug: 189114751
Test: Visual verification in light and dark themes.
Change-Id: I5e3f97ad5e2427c2eb17bc3717a7ad0a1f6e3260
2021-05-25 10:15:43 -04:00
satayev
050c90c343 Revert "Add bootclasspath_fragments to platform-bootclasspath."
Reason for revert: test breakage b/189114287

Bug: 180105615
Bug: 189114287
Test: atest sdkextensions_e2e_tests
Change-Id: Ib58cd02117cf5a5632c4654c34de7643a16b1867
2021-05-25 15:12:01 +01:00
TreeHugger Robot
6a01a5507c Merge "Show ripple effect on rear fp auth" into sc-dev 2021-05-25 14:00:13 +00:00
Jeff DeCew
cab7d8e011 Resolve Notification.Colors once, instead of lazily.
* Instead of resolving colors as-needed, resolve the entire palette potentially used by the notification at the start.
* Centralize color logic and palette storage into Notification.Colors for easier unit testing.
* Adds unit tests for the Notification.Colors, including validating color contrast ratios for various colors.
* Fix a bug with ColorContrastUtil where the luminosity for dark/light font cutoff was 0.5, which resulted in a max contrast ratio of 1.9 for some colors.  Now contrast ratios of 4.5:1 can be achieved for all colors.
* Removes a few of the color accessors in Notification.Builder which were infrequently used, and replaces them with direct use of Notification.Colors.
* Notification specific colors (primary, secondary, default) have only been used by colorized notifications for a few months.  Remove the dark mode overrides of these, ensuring that colorized notifications have the same exact appearance in light and dark themes.
* Replace the use of the "default" color with the "secondary text color"; this practically only affects the alerted bell icon, is more consistent, and reduces complexity.

Fixes: 187881776
Test: manual
Test: atest android.app.NotificationTest
Change-Id: Ib8840d04093094c324d8bdce5b2e84c93a94db8d
2021-05-25 09:57:11 -04:00
TreeHugger Robot
6ec781dea5 Merge "Address API council feedback: s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/." into sc-dev 2021-05-25 13:40:20 +00:00
Tiger Huang
1ce223481a Flush the animation if it is canceled
The issue was that: if navigation bar is requested to show while a
controller is playing an animation of hiding both status bar and
navigation bar, the animation will be canceled and will stay in an
intermediate state, and then, another controller will play an animation
of showing navigation bar. At the end, status bar will stay visible but
it should be invisible.

This CL fast-forwards the insets animation to the end state if it is
canceled.

Fix: 185459811
Test: Steps in the bug.
Change-Id: Id6ae321b6c153ed1d7155afd6111b193ac9c045c
2021-05-25 13:39:49 +00:00