Commit Graph

643712 Commits

Author SHA1 Message Date
TreeHugger Robot
90e7d7e40e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-12 10:26:02 +00:00
TreeHugger Robot
8dd4848df5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 9fb83c35a7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia7d21ffaa0f864eee672d12ac020cd42bfcfa9b2
2021-06-12 10:15:54 +00:00
TreeHugger Robot
9fb83c35a7 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-12 10:08:22 +00:00
Ben Cheng
73c5c11cf2 Merge "Add more LATAM locales" into sc-dev 2021-06-12 08:30:23 +00:00
Ady Abraham
1a49d4f799 Merge changes I77ca4305,Ia0278e98 into sc-dev
* changes:
  Don't call setFrameRate if refresh rate switching is disabled
  DisplayManagerGlobal: suppress redundant AChoreographer_refreshRateCallback calls
2021-06-11 20:22:39 +00:00
Jeff DeCew
293436dfbd Merge "Fix NPE in logActionClick when we were re-fetching the NotificationEntry we already had." into sc-dev 2021-06-11 20:04:26 +00:00
Sally Yuen
77ea3710bb Merge "Unregister IA11yManagerClient in ToastPresenter" into sc-dev 2021-06-11 19:14:45 +00:00
Matt Casey
55af28185e Merge "Align transition image to preview top" into sc-dev 2021-06-11 19:04:07 +00:00
Beth Thibodeau
f2dc063dd8 Merge "Fix issues with media control size" into sc-dev 2021-06-11 19:03:17 +00:00
Beverly Tai
01aedfcdeb Merge "Revert "Hide LightRevealScrim when pulsing"" into sc-dev 2021-06-11 19:02:12 +00:00
Matt Pietal
4f721d3d6b Merge changes I423fc81d,I4b986404 into sc-dev
* changes:
  Bypass fixes for clock
  Backup POWER_BUTTON_LONG_PRESS
2021-06-11 18:40:47 +00:00
John Reck
b99e72f722 Merge "Improve picture capture debug path" into sc-dev 2021-06-11 18:28:34 +00:00
TreeHugger Robot
18b4820cde [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: debe73aaaf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2d078e78e42863611e40dc3b7dbf511115e6d176
2021-06-11 18:19:02 +00:00
TreeHugger Robot
debe73aaaf Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-11 18:05:44 +00:00
Josh Tsuji
f076f6d2a5 Merge "Fix volume talkback issues." into sc-dev 2021-06-11 18:03:38 +00:00
Miranda Kephart
367720d17f Merge "Screenshot to long screenshot shared transition" into sc-dev 2021-06-11 18:03:33 +00:00
Miranda Kephart
6745ee90e7 Merge "Fix handling of display cutout" into sc-dev 2021-06-11 18:03:14 +00:00
Miranda Kephart
dcac024cfe Merge changes I737c4091,I89e88479 into sc-dev
* changes:
  Fix screenshot preview border radii
  Fix screenshot preview border in RTL
2021-06-11 17:55:20 +00:00
TreeHugger Robot
b05527a04f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-11 17:44:19 +00:00
TreeHugger Robot
b9d50d11d8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-11 17:36:32 +00:00
TreeHugger Robot
a707108333 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 9540bc7e9e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0aef34e84c4c0d59f35349c82af03f0e5441f752
2021-06-11 17:34:18 +00:00
TreeHugger Robot
d2a3454d8b Merge "Make sure to close vulkan fd's in error cases" into sc-dev 2021-06-11 17:31:29 +00:00
TreeHugger Robot
e58036e189 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-11 17:25:19 +00:00
TreeHugger Robot
e00dd4a4d5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-11 17:23:50 +00:00
TreeHugger Robot
9540bc7e9e Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-11 17:19:19 +00:00
TreeHugger Robot
83ce6c123d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-11 17:15:34 +00:00
Stevie Kideckel
cf30f5dae2 Merge "Ensure that the RemoteResponse is not empty before acting on it" into sc-dev 2021-06-11 16:39:15 +00:00
Stevie Kideckel
893eb1203d Merge "Include widget providers enabled at runtime" into sc-dev 2021-06-11 16:20:25 +00:00
Ady Abraham
00eb127ef0 Don't call setFrameRate if refresh rate switching is disabled
When refresh rate switching is set to SWITCHING_TYPE_NONE, DisplayManager
limits the refresh rate to a single value. Calling setFrameRate to SF
is redundant and causes unnecessary duplicate events.

Bug: 189174620
Bug: 189191861
Test: atest SetFrameRateTest
Test: atest FrameRateOverrideHostTest
Test: atest ChoreographerNativeTest
Test: atest FrameRateSelectionPriorityTests
Change-Id: I77ca430555c57c13a6e36707b344537deee5c2d7
2021-06-11 15:30:20 +00:00
Ady Abraham
71b6267599 DisplayManagerGlobal: suppress redundant AChoreographer_refreshRateCallback calls
With Frame Rate Override enabled, an app could get an
AChoreographer_refreshRateCallback callbacks which seem redundant.
An example would be:
1. Display changed refresh rate to 60Hz - callback
2. App's frame rate override changed to 60Hz - callback

To avoid sending these redundant callbacks, DisplayManagerGlobal caches
the last DisplayInfo that was reported to the app and based on it, it
decides whether to send the event or not.

Bug: 184588343
Bug: 189174620
Test: atest SetFrameRateTest
Test: atest FrameRateOverrideHostTest
Test: atest ChoreographerNativeTest
Change-Id: Ia0278e98d06bc790810c31dcda8244181e8e1d5d
2021-06-11 15:30:13 +00:00
Anton Hansson
70dedcf388 Merge "Add framework-media to sdk" into sc-dev 2021-06-11 15:11:03 +00:00
Beverly Tai
aa52df898b Revert "Hide LightRevealScrim when pulsing"
This reverts commit e45e39da9e.

Reason for revert: wallpaper shouldn't always show on aod2/pulsing
Fixes: 190536833
Bug: 187670193
Test: manual
Change-Id: I1463bf1bfdb9a3e12eb12727e1ead0be3bcb8004
2021-06-11 14:43:21 +00:00
Matt Casey
136ab09e8c Align transition image to preview top
Top UI layout change broke the transition alignment.

Bug: 190757763
Test: Visual inspection
Change-Id: I54cd2d576f54f96c12b082d7efa144ea1b13ce5b
2021-06-11 10:27:50 -04:00
TreeHugger Robot
4b12edf91e Merge "Fix margins around tiles in QSCustomizer" into sc-dev 2021-06-11 13:47:15 +00:00
Bill Yi
a23ec9d7dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5814ac08319d94254f8f13a7a1c95495667191a8
2021-06-11 12:49:47 +00:00
Bernardo Rufino
0245b5cbce Merge "Expand toast javadoc to include rate limiting info." into sc-dev 2021-06-11 12:28:08 +00:00
Bill Yi
43d1318f43 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7e5604a3d35651a10450ac20039d12b5ce2e0b7d
2021-06-11 12:24:40 +00:00
Anton Hansson
1ca6fa3b38 Add framework-media to sdk
This was removed in Iff38291b964de4116bcdefe4fd74136c4878c543 in favor
of using the bootclasspath fragment. However the bootclasspath fragment
for media does not contain the API tracking files, so it back for now
to make sure we can finalize the media API files.

This CL may be revertable in the future if we can get the
java_sdk_library into the bootclasspath_fragment somehow.

Bug: 190807367
Bug: 188427719
Test: m media-module-sdk and inspect the zip for api tracking files
Change-Id: Ia01c32d4c6c6bad734df053da0024a139a808a54
2021-06-11 13:16:39 +01:00
Bill Yi
3b2c802412 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I57854da55a0166382133e802c5c1144c04339aa7
2021-06-11 12:03:12 +00:00
Bill Yi
bdca5431f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81b954209c650b9cdfd35ac4d1af089f4442891e
2021-06-11 12:00:04 +00:00
Matt Pietal
c9b7dfea0c Bypass fixes for clock
1. Algo bypass flag can be ignored for positioning, as it was causing
the keyguard to get stuck and show underneath the bouncer.
2. Cleanup old layout code
3. The clock would disappear after face auth on reboot, since the
bouncer is required. Check for strong auth

Fixes: 185314537
Test: manual exploration with and without bypass and face auth
Change-Id: I423fc81d3dca7aa7d8c44cd152bd29d91c479322
2021-06-11 07:58:21 -04:00
Matt Pietal
745deffa8f Backup POWER_BUTTON_LONG_PRESS
Starting with Android 12, start backing up this setting to restore the
user's pref across devices. For users upgrading to a 2021+ device,
they will get the new default (assistant on long-press). If this user
then restores to an older device, they will then get this new behavior
on that device as well, even though it isn't the device default.

Fixes: 189874533
Test: atest SettingsBackupTest
Change-Id: I4b9864045bf12f30da03e3715f5e368bdf48a198
2021-06-11 07:58:21 -04:00
Jorim Jaggi
d8254cd71e [automerger skipped] Fix race condition between lockNow() and updateLockscreenTimeout am: 1692babe5e -s ours am: 208512ae75 -s ours am: e8f110352b -s ours am: ffdad637f3 -s ours am: dd894ae859 -s ours am: 9196f5c84a -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1692babe5e is already in history

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

Change-Id: I59d23cf97a4e8e2d0025cda4ce4e1011932f9406
2021-06-11 11:19:29 +00:00
TreeHugger Robot
2e0a01f48f [automerger skipped] Merge "Fix race condition between lockNow() and updateLockscreenTimeout" into pi-dev am: f02c375c6f -s ours am: c3d061d3c6 -s ours am: c9c9886577 -s ours am: aff0172222 -s ours am: 333f5c979b -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1692babe5e is already in history

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

Change-Id: I1cffaf405c843438da21d6de7356ee26ef557508
2021-06-11 11:19:18 +00:00
Jorim Jaggi
579a6a2fbb [automerger skipped] Fix race condition between lockNow() and updateLockscreenTimeout am: 1692babe5e -s ours am: 208512ae75 -s ours am: e8f110352b -s ours am: ffdad637f3 -s ours am: dd894ae859 -s ours am: 48840f512b -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: I6670cd8546b89cf5964be9040c9bd21059912ab8
2021-06-11 11:15:17 +00:00
TreeHugger Robot
e4d72e40d6 [automerger skipped] Merge "Fix race condition between lockNow() and updateLockscreenTimeout" into pi-dev am: f02c375c6f -s ours am: c3d061d3c6 -s ours am: c9c9886577 -s ours am: aff0172222 -s ours am: 9271a1731c -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: Iffcc6c412f7e4e1f5c85eb98e2870bc892e775b5
2021-06-11 11:14:54 +00:00
Jorim Jaggi
48840f512b [automerger skipped] Fix race condition between lockNow() and updateLockscreenTimeout am: 1692babe5e -s ours am: 208512ae75 -s ours am: e8f110352b -s ours am: ffdad637f3 -s ours am: dd894ae859 -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: I3528472bffe27da1a0844f14d59b1416138db062
2021-06-11 11:00:33 +00:00
TreeHugger Robot
9271a1731c [automerger skipped] Merge "Fix race condition between lockNow() and updateLockscreenTimeout" into pi-dev am: f02c375c6f -s ours am: c3d061d3c6 -s ours am: c9c9886577 -s ours am: aff0172222 -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: I50e114eba417ae73e9439f93e31f7a55d79b253f
2021-06-11 11:00:22 +00:00
Jorim Jaggi
9196f5c84a [automerger skipped] Fix race condition between lockNow() and updateLockscreenTimeout am: 1692babe5e -s ours am: 208512ae75 -s ours am: e8f110352b -s ours am: ffdad637f3 -s ours am: dd894ae859 -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: If401b293daa18bf577d7476901ddc9e07f8aa310
2021-06-11 11:00:01 +00:00
TreeHugger Robot
333f5c979b [automerger skipped] Merge "Fix race condition between lockNow() and updateLockscreenTimeout" into pi-dev am: f02c375c6f -s ours am: c3d061d3c6 -s ours am: c9c9886577 -s ours am: aff0172222 -s ours
am skip reason: Merged-In Ie486396fd7328edf8ca0912df92524bb82a1fb7f with SHA-1 1fc88c383e is already in history

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

Change-Id: Ibb0187f711beb849cf41682cd3bed3ac5050696c
2021-06-11 10:59:52 +00:00