Commit Graph

642735 Commits

Author SHA1 Message Date
Mady Mellor
72c320aefc Remove doc saying setSuppressNotification requires being in foreground
ag/13330774  removed the requirement & added tests; this updates the
javadoc around it.

Bug: 189175840
Test: treehugger
Change-Id: I5c8fc35607c79a6e70e8245d8662d66d5e884fa1
2021-06-01 14:16:22 -07:00
Selim Cinek
df773665d0 Merge "Adds the ScreenOffAnimationController, which fixes multiple issues with unlocked screen off." into sc-dev 2021-06-01 18:00:10 +00:00
Selim Cinek
0e7b5cc8f6 Merge "Fading out keyguard only content instead of occluding them with the scrim" into sc-dev 2021-06-01 17:57:48 +00:00
TreeHugger Robot
b62e7a1480 Merge "Replace private color attribute with corresponding color resource" into sc-dev 2021-06-01 17:45:56 +00:00
Lyn Han
c60c0bb8ef Merge "Add dumpsys log for AmbientState#hideAmount to debug notification alpha" into sc-dev 2021-06-01 17:44:28 +00:00
Mady Mellor
12a782b34e Merge "Fix an issue where the bubble wasn't opening" into sc-dev 2021-06-01 17:43:26 +00:00
TreeHugger Robot
3a82747032 Merge "a11y announce (polite) keyguard bottom text area changes" into sc-dev 2021-06-01 17:34:57 +00:00
TreeHugger Robot
ef84c71419 Merge "Synchronize connected devices in BluetoothController" into sc-dev 2021-06-01 17:32:46 +00:00
TreeHugger Robot
2ee596d203 Merge "Fix various FGS notification deferral issues" into sc-dev 2021-06-01 17:32:02 +00:00
Lais Andrade
79ce03a8de Merge "Move all interaction with vibrator HAL outside VibrationThread lock" into sc-dev 2021-06-01 16:34:00 +00:00
Songchun Fan
52109a9328 Merge "[SettingsProvider] add maxTargetSdk in @Readable" into sc-dev 2021-06-01 16:08:23 +00:00
Lyn Han
f954c84355 Add dumpsys log for AmbientState#hideAmount to debug notification alpha
Notification alpha is 0 when we collapse from fullscreen quick settings
and should not be

Bug: 189313235
Test: treehugger
Change-Id: Id68931977a7e80f9304bd0146c07ebf2b0663faa
2021-06-01 10:56:02 -05:00
TreeHugger Robot
c05ebb5b25 Merge "Add support to register Java listeners for prox activation" into sc-dev 2021-06-01 15:53:59 +00:00
Beverly
a63e77e8dc a11y announce (polite) keyguard bottom text area changes
Fixes: 186715972
Fixes: 186591533
Test: manual
Change-Id: Ia16988831b30f5b592b602829180f1e0e54f8191
2021-06-01 11:52:58 -04:00
TreeHugger Robot
285aee4a3a Merge "Do not disappear text when moving tiles" into sc-dev 2021-06-01 15:01:20 +00:00
TreeHugger Robot
78774b577d Merge "Register prox secondary sensor when safe." into sc-dev 2021-06-01 14:51:16 +00:00
TreeHugger Robot
1b3424aa94 Merge "Clarify what ignoring battery optimizations means." into sc-dev 2021-06-01 14:39:55 +00:00
Fabian Kozynski
236e647a43 Synchronize connected devices in BluetoothController
Also, return a copy of it.

Test: manual testing
Bug: 187779329

Change-Id: I67afa98d0b68b191bb207588f6bf571038579e24
2021-06-01 14:22:52 +00:00
Matt Casey
07056eaa46 Merge "Move ScrollView scroll capture to the center" into sc-dev 2021-06-01 14:05:35 +00:00
TreeHugger Robot
960f56669c Merge "Ensure MediaSession2Record is initialized before used" into sc-dev 2021-06-01 13:53:03 +00:00
Selim Cinek
aca32441ea Fading out keyguard only content instead of occluding them with the scrim
The scrim is also used on the lock screen and should therefore be
behind the keyguard elements. Instead, we now fade out the views
on top of the scrim to achieve the same visual effect.

This also fixed an issue where the inset on the scrim was wrong in landscape

Fixes: 188660106
Test: drag down on lockscreen, observe content fading out
Change-Id: I72e6b964dde5ad3c579a0db71d7914f3e47eab6c
2021-06-01 15:01:12 +02:00
Gyumin Sim
a3aec61861 Ensure MediaSession2Record is initialized before used
NPE happens at mController.close() if session is destroyed while the
MediaController2 instance is being created in the constructor of
MediaSession2Record. It ensures the MediaSession2Record instance is
initialized before the instance is used by Controller2Callback.

Bug: 189119798
Fix: 189119798
Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest
Change-Id: I23ca2f3dbc657ac38f4154a0fb428a4c25e6b5ad
2021-06-01 21:20:05 +09:00
Lais Andrade
9934c33d8c Move all interaction with vibrator HAL outside VibrationThread lock
The calls to the Vibrator HAL (on, perform, compose, off) are done from
within synchronized blocks of code in VibrationThread. This makes calls
to cancel the thread or native callbacks wait for HAL interactions,
which might have a latency.

Fix this by moving all calls to the HAL to the thread main look and out
of any synchronized block.

Also added a regression test for this scenario.

Bug: 185191271
Fix: 189489898
Test: VibrationThreadTest
Change-Id: I1aaf0ef7162abd15adfb4a8ac62b9798d67ac592
2021-06-01 11:45:54 +00:00
Galia Peycheva
1dfd948440 Merge "Fix dream not working on top of pinned apps" into sc-dev 2021-06-01 10:23:53 +00:00
Kriti Dang
d7638021ed Merge "Adding additional javadocs for setSurroundFormatEnabled" into sc-dev 2021-06-01 10:11:54 +00:00
Aaron Huang
10cbb66f1e Merge "Make sure the PAC script content is sent again" into sc-dev 2021-06-01 08:47:13 +00:00
Alex Johnston
c65974f14e Merge "Remove requireAutoTime on upgrade" into sc-dev 2021-06-01 08:17:27 +00:00
Aaron Huang
2debdb3ec2 Merge "Remove IntDef annotations from NetworkPolicyManager" into sc-dev 2021-06-01 08:08:21 +00:00
Wei Sheng Shih
a1195c85c7 Merge "Ensure no starting window leak in WMShell before adding." into sc-dev 2021-06-01 07:56:40 +00:00
Aaron Huang
40b249c1a6 Make sure the PAC script content is sent again
...when the PAC service crashes.

Bug: 185409199
Test: manual
Original-Change: https://android-review.googlesource.com/1711211
Merged-In: Ic76428f42f37f8552a526190764ad32e2874adb0
Change-Id: Ic76428f42f37f8552a526190764ad32e2874adb0
2021-06-01 07:33:01 +00:00
TreeHugger Robot
947270efc3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 75d739ff27 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8a88f0af4607b01760981889c6fbdd84f8a8be6e
2021-06-01 06:52:32 +00:00
TreeHugger Robot
75d739ff27 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-01 06:31:40 +00:00
TreeHugger Robot
a3baa739ab Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-01 06:15:35 +00:00
TreeHugger Robot
3dce19b16d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 0fac4b5f27 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I95df7604f08299c1a03deaa8d57b212ab067e449
2021-06-01 06:11:03 +00:00
TreeHugger Robot
3db4dc09ef [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: eee72b4605 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0cd4360d36b85115fe85f2b92796f1cb8e1f4b8a
2021-06-01 06:10:49 +00:00
TreeHugger Robot
9a32f30094 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 863a81ff67 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1aeb6615c6b521abb42810d88931a7002ee8fa87
2021-06-01 06:10:36 +00:00
TreeHugger Robot
928b1e8347 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 638d1924ed -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6fa1fb29b2e1fbe46eebada52820149112c43fce
2021-06-01 06:10:22 +00:00
TreeHugger Robot
5c9d4bc279 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 5030dc3ff7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7e1f07fa53e86ddf8b669dc4777f190d6ee04ed6
2021-06-01 06:10:09 +00:00
TreeHugger Robot
2859febee5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: eb7d47937b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I30b1327f3f5702d3c11590d4d608562c76b4af92
2021-06-01 06:07:24 +00:00
TreeHugger Robot
768f97d605 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 196e02bd0d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3f5583ab5e88e3f9df83180e66ba9a1a78ff2a4c
2021-06-01 06:07:12 +00:00
TreeHugger Robot
4c9b4b5c33 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 34adaebd45 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iddd5f08a9dadc4890db408f08cfba114cece5430
2021-06-01 06:06:59 +00:00
TreeHugger Robot
90edda4634 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 9c0f8a3757 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I78c0420f8b9538fbc14b65f90526467974876875
2021-06-01 06:06:45 +00:00
TreeHugger Robot
0fac4b5f27 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-01 06:04:15 +00:00
TreeHugger Robot
323242a261 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-01 06:02:55 +00:00
TreeHugger Robot
f84a8bc6f7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-01 05:56:19 +00:00
Chihhang Chuang
fa34bd54b8 Replace private color attribute with corresponding color resource
- Gradle build has trouble referencing this private attribute
  directly, same as ag/14216601.

Bug: 189720551
Test: Manually
Change-Id: I3ae43949ddfac40c1e090b71ac3f2788b5b8fe54
2021-06-01 05:55:30 +00:00
TreeHugger Robot
03b8e083a7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 5283151457 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I108b88457fe6b062d427baaa956d9f823d720e65
2021-06-01 05:55:29 +00:00
TreeHugger Robot
f5c8fddb59 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 834fcc1639 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia6f3d47a2db6dc4d5ae64f578a74b022eaf4c2d0
2021-06-01 05:55:18 +00:00
TreeHugger Robot
c49855b03b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 2580e23d4e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia3fa489b368c458a515db03a7f9d6136de1faddd
2021-06-01 05:55:09 +00:00
TreeHugger Robot
ab716ff80b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: e261aaef20 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7f0d0d3b206f446027f02d23fe145fe331034e69
2021-06-01 05:54:56 +00:00