Commit Graph

640958 Commits

Author SHA1 Message Date
Cody Kesting
5cdc27d2ac Merge changes I4b135749,If4fcaa52 am: 576dad4673 am: cd4e6ae6d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704175

Change-Id: I31a2eda921b88ebe0c70492e39f4b448f6c91b93
2021-05-12 23:15:28 +00:00
Linzhao Ye
c985b4066c Merge "Change the '[]' and '<>' brackets in Arabic keyboard layout." am: 5c1879cb60 am: 27095d7536
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702070

Change-Id: Ie7d9c32025213c7fc089dff38be142caa15df9c7
2021-05-12 23:15:14 +00:00
Pierre Barbier de Reuille
6a3f83e786 Check colors actually change for App Widget
If new colors are set but do not change, do not re-inflate the App
Widget.

Bug: 187852819
Test: Added logs and added a widget, moved it to see
Change-Id: I672ee7984cab8966f79d839494ac8a7b91679102
2021-05-13 00:12:15 +01:00
Aurimas Liutikas
b357fadd1e Merge "Revert "Fix incompatibilities with Kotlin 1.5.0"" am: f1e2bb9a81 am: c2db9c85cc am: 51a1b7d082
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705633

Change-Id: I20f9e94bb3241e07052edbe8c042162c2ad6f118
2021-05-12 23:09:41 +00:00
Dmitri Plotnikov
9828eb9044 Do realistic data mocking in BluetoothPowerCalculatorTest
Bug: 187461241
Test: atest FrameworksCoreTests:BluetoothPowerCalculatorTest

Change-Id: I7974bd2ba434855a4b30e47b3e68e0a0569eb3f5
2021-05-12 16:09:27 -07:00
Cody Kesting
cd4e6ae6d6 Merge changes I4b135749,If4fcaa52 am: 576dad4673
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704175

Change-Id: Iad5fd7d7e39cb0a19f7fc87b09c600a7e7b7ecd8
2021-05-12 23:03:26 +00:00
Linzhao Ye
27095d7536 Merge "Change the '[]' and '<>' brackets in Arabic keyboard layout." am: 5c1879cb60
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702070

Change-Id: I5623a9e742efc094418e91e9c830e8c08691f3ba
2021-05-12 23:00:31 +00:00
Cody Kesting
576dad4673 Merge changes I4b135749,If4fcaa52
* changes:
  Restructure Test Network requests for VCN connections.
  Correct variable name in VcnManagementService.
2021-05-12 22:55:17 +00:00
Aurimas Liutikas
51a1b7d082 Merge "Revert "Fix incompatibilities with Kotlin 1.5.0"" am: f1e2bb9a81 am: c2db9c85cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705633

Change-Id: I39fdc7fb9ad8109e51e2d3bdee1bc4fb3354a247
2021-05-12 22:52:55 +00:00
Dmitri Plotnikov
dd9dcdfb72 Merge "Fix device-level wakelock battery attribution" into sc-dev 2021-05-12 22:52:41 +00:00
Lorenzo Colitti
79d74a6448 Merge changes from topic "transportinfo-explicit-redaction" into sc-dev
* changes:
  Immediately redact VcnTransportInfo.
  Do not automatically redact TransportInfo objects.
2021-05-12 22:46:36 +00:00
Linzhao Ye
5c1879cb60 Merge "Change the '[]' and '<>' brackets in Arabic keyboard layout." 2021-05-12 22:44:31 +00:00
Chris Li
806b5b8ed6 Merge "Determine whether to support activities in multi window (5/n)" into sc-dev 2021-05-12 22:37:41 +00:00
TreeHugger Robot
4d2b82b01f Merge "Do not ignore views that are GONE" into sc-dev 2021-05-12 22:21:32 +00:00
Aurimas Liutikas
c2db9c85cc Merge "Revert "Fix incompatibilities with Kotlin 1.5.0"" am: f1e2bb9a81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705633

Change-Id: Ic447f14fbeab4215efc758f301b626bc21766b31
2021-05-12 22:20:32 +00:00
Alexander Dorokhine
487406300a Refactor VisibilityStore's docs and maps to separate objects.
This reduces the volume of code VisibilityStore has to manage.

Bug: 169883602
Test: VisibilityStoreTest
Change-Id: I422f1c5f35fd4ded49cbd102530c574092bb4a74
2021-05-12 15:10:16 -07:00
Jean-Michel Trivi
3009a4d87d Merge "AudioService: fix AVRCP absolute volume reset" into sc-dev 2021-05-12 22:06:59 +00:00
Aurimas Liutikas
f1e2bb9a81 Merge "Revert "Fix incompatibilities with Kotlin 1.5.0"" 2021-05-12 22:03:25 +00:00
TreeHugger Robot
9d7540c17e Merge "Atoms.proto PROFILE_CLONE entry" into sc-dev 2021-05-12 22:02:45 +00:00
Ahaan Ugale
f60fbc10b5 Merge "Nullability fixes for HotwordDetectionService APIs." into sc-dev 2021-05-12 21:56:54 +00:00
Aurimas Liutikas
c5b4071877 Revert "Fix incompatibilities with Kotlin 1.5.0"
This reverts commit b8ca1157ab.

Reason for revert: b/187908823

Change-Id: I9606c5730f4e8697a9319939acda0a9b7a74634d
2021-05-12 21:56:31 +00:00
Stevie Kideckel
9a0e124b1a Merge "Performance/jank improvements to AnalogClock" into sc-dev 2021-05-12 21:49:28 +00:00
Jeff Sharkey
a224ffb28f Merge "Grant "Nearby devices" to Bluetooth MIDI service." into sc-dev 2021-05-12 21:45:16 +00:00
Hui Yu
0a986df19d mLocalDeviceIdleController could be null.
Bug: 187965254
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Iacb371fdacfd9a927e13472c3fcc114baaa7060a
2021-05-12 14:36:34 -07:00
Ben Lin
4c21ac8f33 Merge "PiP: Update menu state AFTER animation is done for show/hide/resize." into sc-dev 2021-05-12 21:34:48 +00:00
Ben Lin
8c39ee10d3 Merge "PiP: Recheck condition to pass input to menu." into sc-dev 2021-05-12 21:33:01 +00:00
Dmitri Plotnikov
59dd00ce46 Fix device-level wakelock battery attribution
Bug: 187844042
Test: atest FrameworksCoreTests:WakelockPowerCalculatorTest
Change-Id: I4e14d962db37adeafb793022b50da0065628238c
2021-05-12 14:21:12 -07:00
TreeHugger Robot
c70b38a9f8 Merge "Add transferTouch api" into sc-dev 2021-05-12 21:15:04 +00:00
Lyn Han
2e2ac20e52 Exclude scrim padding when calculating stack height on lockscreen
Since we don't use notification background scrim on lockscreen

Bug: 187195324
Test: lockscreen stack height looks correct
Change-Id: Id66da679c39fdec488318f6f920fa90241d17115
2021-05-12 21:11:40 +00:00
TreeHugger Robot
c42a70fab2 Merge "Reset the color settings if the wallpaper changes" into sc-dev 2021-05-12 21:10:09 +00:00
Leon Scroggins
5183641bef Merge "PIP: Always enable rounded corners" into sc-dev 2021-05-12 21:02:05 +00:00
TreeHugger Robot
c9216d334b Merge "Provide proper transform to mask canvas" into sc-dev 2021-05-12 20:57:56 +00:00
TreeHugger Robot
7ae30966d9 Merge "Try to draw with given font before updating" into sc-dev 2021-05-12 20:54:21 +00:00
TreeHugger Robot
8e96a04385 Merge "Set the correct default in quick_qs_status_icons" into sc-dev 2021-05-12 20:52:11 +00:00
Kevin Chyn
8404904b26 Merge changes I2339e806,Ic7eaddc4 into sc-dev
* changes:
  Do not show fingerprint icon/circle underneath moving target
  Enlarge UDFPS enrollment progress bar
2021-05-12 20:50:31 +00:00
Caitlin Cassidy
28b091c6cc Merge "[Ongoing Call Chip] Improve accessibility." into sc-dev 2021-05-12 20:46:11 +00:00
Chris Li
fa67b59b79 Merge "Fix NPE for checking immersive confirmation window root feature" into sc-dev 2021-05-12 20:39:52 +00:00
Fabian Kozynski
1b69a1d33e Do not ignore views that are GONE
If the view is GONE, we don't remove the size for the final size.

Test: manual
Fixes: 187881823
Change-Id: I29e4fc2cb0196799f2486661b2f76b4bfc01594a
2021-05-12 16:36:51 -04:00
Lucas Dupin
b52611aa8a Merge "Blend premultiplied colors" into sc-dev 2021-05-12 20:08:16 +00:00
Ahaan Ugale
d579a8ee6e Nullability fixes for HotwordDetectionService APIs.
* Make the Hotword*Result payloads NonNull. HotwordDetectedResult on the
  VoiceInteraction side is still @Nullable since the EventPayload is
  used for other result types too.
* Remove @NonNull for a primitive return type.

Bug: 184962614
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ib57368dab442f80805233864dc8fd86249f677cf
2021-05-12 13:06:31 -07:00
TreeHugger Robot
b65503ecc2 Merge "Add bootclasspath_fragment." into sc-dev 2021-05-12 20:06:22 +00:00
Makoto Onuki
b5ddeefc09 Merge "Clean up setForegroundServiceBehavior()" into sc-dev 2021-05-12 19:59:44 +00:00
Jeff DeCew
b85d1f4f39 Allow populating left_icon independently of right_icon.
* Mainly this fixes a "bug" with the BigPictureStyle.showBigPictureWhenCollapsed() that would cause the big picture, which is known to be important for the notification, to be hidden on the right and shown on the left.  Instead the BigPicture will now remain visible in its large form on the right, and the left icon will be populated with the large icon.
* Additionally, this fixes some quirks with other layouts, such as MediaStyle and MessagingStyle that the largeIcon would be missing (sometimes only in one expansion state) when it could be shown in the left column.
* Finally, this fixes a few bugs in the expansion animation that were caused by logic for determining the showing icon being inconsistent between Notification.java and the notification view wrappers.

Bug: 186421651
Test: post notifications of all these types in and outside of groups.
Change-Id: Ifd1d817afcb1b6fa8cfb79baee96364af8c7af3c
2021-05-12 15:57:43 -04:00
TreeHugger Robot
6e77692106 Merge "Hide the mobile slot when QSBH expands in legacy model" into sc-dev 2021-05-12 19:46:34 +00:00
Lyn Han
444187faad Merge "Push notifications down offscreen when QQS expands to fullscreen QS" into sc-dev 2021-05-12 19:29:58 +00:00
Lyn Han
0c9d558ae0 Push notifications down offscreen when QQS expands to fullscreen QS
And bring notifications back up when fullscreen QS closes to QQS

This updates UI to spec and fixes issues where the top of the
notifications background scrim and notification shelf icons still show
in fullscreen QS, which looks messy and blocks the media player.

Fixes: 187195324
Test: open shade, expand QS, close QS, close shade
Change-Id: Ic0a3238db16086ac272e80521c5e332d1a92744b
2021-05-12 19:29:39 +00:00
Nader Jawad
9238f59d97 Provide proper transform to mask canvas
Updated mask canvas to have the same
transformation applied to the initial
target canvas and device

Bug: 184297961
Test: manual
Change-Id: Ibdeefba8ec9f95f4acd7e3176f43a5e603e76676
2021-05-12 12:16:26 -07:00
TreeHugger Robot
7652864e3b Merge "Add apex_available for SettingsLib libraries used by PermissionController." into sc-dev 2021-05-12 19:06:53 +00:00
Caitlin Cassidy
2cfbad33ca Merge "[Ongoing Call Chip] Add analytics for when the chip becomes visible and when the chip is clicked." into sc-dev 2021-05-12 19:01:36 +00:00
Joe Bolinger
c22eee968c Respond to lockout reset requests from the HAL.
Fix: 187393441
Test: manual by rapidly tapping on sensor and waiting for lockout to clear
Test: atest com.android.server.biometrics.sensors.face.aidl.SensorTest
Test: atest com.android.server.biometrics.sensors.fingerprint.aidl.SensorTest
Change-Id: I251b0c8cf25c96a3c959871199d3d6b7990d784e
2021-05-12 11:58:39 -07:00