James O'Leary
5e4f0dba3c
Merge "Fix crash when number of pixels < max colors" into sc-dev am: c4748fdab2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13745605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iac0cda102a74866ce802695787c5bd25193a03b9
2021-03-05 16:58:32 +00:00
James O'Leary
c4748fdab2
Merge "Fix crash when number of pixels < max colors" into sc-dev
2021-03-05 16:25:06 +00:00
Alexander Potapenko
1f4c4e0b70
Merge changes from topic "kernel_bootreceiver" into sc-dev am: 493a8a1ad0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13726117
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ief8d60c62d344c8cb0a67a59d82a757242ec03ac
2021-03-05 14:27:18 +00:00
Alexander Potapenko
493a8a1ad0
Merge changes from topic "kernel_bootreceiver" into sc-dev
...
* changes:
BootReceiver: collect kernel memory corruptions from dmesg
BootReceiver: move to services/core/java/com/android/server
2021-03-05 14:09:39 +00:00
Automerger Merge Worker
e61e85b634
Merge "Merge changes I04ac8fba,Ia0a8548f am: db6628bb7d am: a534c95087 am: 87287a5859" into sc-dev am: d2ba0593d0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615382
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id927af0a4f4b24d2f026e0ff60f1301417e33003
2021-03-05 05:18:55 +00:00
Christian Wailes
02d6322bd2
Merge changes I04ac8fba,Ia0a8548f am: db6628bb7d am: a534c95087 am: 87287a5859
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615382
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ief019f6e8ee38664c5319e1756ca2c72065cd1af
2021-03-05 05:15:59 +00:00
Wilson Wu
a3e93fadf8
Merge "Make IInputMethodPrivilegedOperations to oneway" into sc-dev am: 70c6ea463b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13738526
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I259f127a13e9a977008b6797b5f38dda0c59936e
2021-03-05 05:13:20 +00:00
Christian Wailes
87287a5859
Merge changes I04ac8fba,Ia0a8548f am: db6628bb7d am: a534c95087
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615382
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I06eb075d11b110ccbbd8dcaecb948e502d69f6bb
2021-03-05 05:10:07 +00:00
TreeHugger Robot
0416ccb45e
Merge "Separate buffer stuffing and jank" into sc-dev am: 72e83e74a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699896
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I45ba644320213d9dacfc0257efe4c0dd1a1186f9
2021-03-05 04:52:46 +00:00
Wilson Wu
70c6ea463b
Merge "Make IInputMethodPrivilegedOperations to oneway" into sc-dev
2021-03-05 03:54:16 +00:00
TreeHugger Robot
72e83e74a0
Merge "Separate buffer stuffing and jank" into sc-dev
2021-03-05 01:54:13 +00:00
Jorim Jaggi
c373f35107
Separate buffer stuffing and jank
...
Bug: 161781469
Test: Perfetto trace with CUJ
Change-Id: I8583342a50a1d54b7aede89aa81c98178269b357
2021-03-04 21:48:30 +00:00
Christian Wailes
db6628bb7d
Merge changes I04ac8fba,Ia0a8548f
...
* changes:
Autoformatter changes.
Inclusivity cleanup of the Zygote.
2021-03-04 21:09:52 +00:00
Alex Mang
80b4bb36c9
Merge "Propagate ContentCaptureManager allowlist update to activities" into sc-dev am: d77366e4f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13634645
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icb217df0361b3751df45d11c0fc13ed347a8e3dc
2021-03-04 02:40:44 +00:00
Alex Mang
d77366e4f2
Merge "Propagate ContentCaptureManager allowlist update to activities" into sc-dev
2021-03-04 02:26:25 +00:00
Jeff DeCew
ff4c095947
Merge "Change groups to use number in the expander." into sc-dev am: 82336d7562
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13761485
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I50e4f1f9252a63a8d23d6c3eb397d1f567885abb
2021-03-04 02:16:51 +00:00
Jeff DeCew
82336d7562
Merge "Change groups to use number in the expander." into sc-dev
2021-03-04 01:12:21 +00:00
Chris Wailes
a6f8803c85
Inclusivity cleanup of the Zygote.
...
Changed "whitelist" to "allowlist" in many Zygote files.
BYPASS_INCLUSIVE_LANGUAGE_REASON="compatability with vendor files"
Test: cts
Change-Id: Ia0a8548f2e254fc36a9dce7e50af8284ed0caa47
2021-03-03 14:23:32 -08:00
TreeHugger Robot
efc2331be7
Merge "Broadcast cancel event of a CUJ session" into sc-dev am: 1ef54a4a36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13675630
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I981d461ded4b9955809d4d6ab2a0691be9e6e564
2021-03-03 21:42:29 +00:00
Jeff DeCew
03dbfe42ba
Merge changes Ifbf07b27,Ic9cd89e8 into sc-dev am: 82b5194584
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13733645
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I620ca394a6f8bdca20664592ac9d1e4f3284db63
2021-03-03 21:42:11 +00:00
TreeHugger Robot
1ef54a4a36
Merge "Broadcast cancel event of a CUJ session" into sc-dev
2021-03-03 21:14:03 +00:00
Jeff DeCew
138403add7
Change groups to use number in the expander.
...
* Old codepath is maintained; switch with config_showNotificationGroupCountInExpander.
* Use the default expander colors for low priority header.
* Uses the correct color for the old group overflow.
* Fixes the header view to correctly accomodates growing expander.
Bug: 181048615
Test: manual, visual inspection of groups and notification types that use headers
Change-Id: Ia314a6028645016df39d3e948fdc4eb194ed9ff2
2021-03-03 16:04:45 -05:00
Jeff DeCew
82b5194584
Merge changes Ifbf07b27,Ic9cd89e8 into sc-dev
...
* changes:
Notification color overhaul.
Implement the new visual style of the expand button
2021-03-03 21:02:08 +00:00
Stanislav Zholnin
55887426b4
Merge "Add API support for permission access timeline." into sc-dev am: 4f5072825d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13582326
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5d9335d65ad89cc09591d869261c9c0e19653e8c
2021-03-03 16:42:32 +00:00
Stanislav Zholnin
4f5072825d
Merge "Add API support for permission access timeline." into sc-dev
2021-03-03 16:35:28 +00:00
James O'Leary
bbfe962fff
Fix crash when number of pixels < max colors
...
If extraction is run on a set of pixels whose count is less than the
number of max colors, then colors.length < max colors, and accesses
to colors[index] inside the for loop throw an ArrayOutOfBoundsException.
Test: add widget to home screen, reduce size of widget to small area.
observe crash. `mp core services` with fix, observe that crash no longer
occurs. `mp core services` again without fix, verify crash occurs after
boot.
Fixes: 181130209
Change-Id: I60bf1ab39f7a69f2fb0745049fd46d2f0b53a12c
2021-03-03 10:46:16 -05:00
Ming-Shin Lu
bf5ceedda8
Merge "Restore the last IME visiblity of the app window when allowed" into sc-dev am: 02116c6a4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13674731
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1f950de6ab4d8927a58bef777a4a11e25fccc5a8
2021-03-03 14:46:37 +00:00
Ming-Shin Lu
02116c6a4f
Merge "Restore the last IME visiblity of the app window when allowed" into sc-dev
2021-03-03 14:30:15 +00:00
Stanislav Zholnin
07e6855f8b
Add API support for permission access timeline.
...
Test: in development
Bug: 176965672
Change-Id: Ib06452946fda2fcbd32ac6172ea4a43dabde7b67
2021-03-03 11:03:07 +00:00
Wilson Wu
aa14580429
Make IInputMethodPrivilegedOperations to oneway
...
Comply all methods to ResultCallback to keep current
behavior and convert IInputMethodPrivilegedOperations
to one-way.
Bug: 173340613
Test: atest CtsInputMethodTestCases
Change-Id: I7dd8a457dbc7412c103a9ffe8d3895f30204f252
2021-03-03 18:11:24 +08:00
Alexander Potapenko
9676344a7d
BootReceiver: move to services/core/java/com/android/server
...
Per Jeff Sharkey's suggestion, move this file to another subtree to
allow using com.android.server.IoThread. No functional change.
Test: manual runs with KFENCE enabled
Bug: 172316664
Signed-off-by: Alexander Potapenko <glider@google.com >
Change-Id: I338283f17ba7c108d9bdd60b3e01d6bcbfc6b38a
2021-03-03 10:41:30 +01:00
Alex Buynytskyy
d1b10269b0
Merge "Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature." into sc-dev am: 967b81014f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13738376
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia31d9442a8f4439f701fcd3f2fbb0cc0e24fcb98
2021-03-02 21:33:03 +00:00
Alex Buynytskyy
967b81014f
Merge "Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature." into sc-dev
2021-03-02 21:24:41 +00:00
Jeff DeCew
f437e2c61f
Implement the new visual style of the expand button
...
Bug: 181048615
Test: visual and talkback testing of normal notifs, conversations, groups.
Change-Id: Ic9cd89e899a03010a523bee4f1ef72fbfbd8b43f
2021-03-02 16:10:00 -05:00
Abhijeet Kaur
b68c51d4c4
Merge "Removed unused mount mode constants" am: 14f35d5f2d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1605513
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I80d0c585e742f33ce90fac787f54b5c0903f070f
2021-03-02 20:59:46 +00:00
Remi NGUYEN VAN
939a74ff51
Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf am: 1efb1bf4a8 am: 0442bbca78
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icfb31202a29f70a210f07121d2f202230dee4b15
2021-03-02 20:12:20 +00:00
Remi NGUYEN VAN
0442bbca78
Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf am: 1efb1bf4a8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9de14464ebb9d43e7c4fdc683c23ddbbcc7ef269
2021-03-02 19:56:48 +00:00
Remi NGUYEN VAN
1efb1bf4a8
Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icb9911ad2933d76acbfc8b23463639ffc82bb58b
2021-03-02 19:52:44 +00:00
Remi NGUYEN VAN
b3bc93fbcf
Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib2d4b5574ba710eb50c438144e2b87f6c8954336
2021-03-02 19:48:26 +00:00
Alex Buynytskyy
78c789d33f
Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature.
...
This is addressing the API feedback.
Bug: 181015045
Fixes: 181015045
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I3ea745a4f0f0a0d9ae90f0625dfce61a8649a76d
2021-03-02 10:26:20 -08:00
Abhijeet Kaur
14f35d5f2d
Merge "Removed unused mount mode constants"
2021-03-02 16:37:30 +00:00
Abhijeet Kaur
d41a537ed0
Merge "Removed unused mount mode constants" into rvc-qpr-dev-plus-aosp
2021-03-02 13:54:01 +00:00
Ahan Wu
cf7d9aa500
Broadcast cancel event of a CUJ session
...
Broadcast cancel events of a CUJ session to who is interested
in it like metrics collector.
Bug: 171912046
Test: atest FrameworksCoreTests:InteractionJankMonitorTest FrameworksCoreTests:FrameTrackerTest
Change-Id: I7bbef1448a8430d79163cdf55f5fba8f1c23d603
2021-03-02 16:45:23 +08:00
Alex Mang
842dd79ec5
Propagate ContentCaptureManager allowlist update to activities
...
Ref Doc: go/propagate-ccm-allowlist
BYPASS_INCLUSIVE_LANGUAGE_REASON=logging existing function call name
Tested: manually on device
Bug: 177345035
Bug: 165025636
Change-Id: I46c41a1e3e8a91a08889f5505e5bc1510776e253
2021-03-01 22:26:02 -08:00
Galia Peycheva
903b1fcc0d
Merge changes from topic "add-runtime-blur-disabling" into sc-dev am: fd98c576c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13603505
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I89145e4bbba0d367194593c96923f813738f2dfa
2021-03-02 05:33:47 +00:00
Galia Peycheva
cf9a5c1848
Make WM.LP.blurBehindRadius a setter+getter am: 7fe1a92c60
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676887
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7f5ce803a14c1cb2062dbe2eb1060e3948614ddd
2021-03-02 05:33:40 +00:00
Galia Peycheva
fd98c576c7
Merge changes from topic "add-runtime-blur-disabling" into sc-dev
...
* changes:
Create listener for dynamic blurEnabled changes
Make WM.LP.blurBehindRadius a setter+getter
2021-03-02 04:45:06 +00:00
Galia Peycheva
6e842a730c
Create listener for dynamic blurEnabled changes
...
This CL exposes an API to let apps know when the blur has been enabled
or disabled dynamically.
This could be due to battery saving mode turned on, tunnel mode being
used, minimal post processing requested, etc.
This adds a WindowManager.addCrossWindowBlurEnabledListener, which allows
apps to add/remove a listener for blur enabled state changes. The
listeners are registered in a CrossWindowBlurListeners, which receives
updates from WindowManagerService when blurEnabled changes.
CrossWindowBlurListeners only registers a remote listener if the client
initializes it. I.e. if the app is not interested in blurs, the
CrossWindowBlurListeners won't get initialized and won't register a
remote listener.
WindowManagerService holds a RemoteCallbackList, which holds listeners
for each client process and notifies them when there are updates. If any
of the listeners' process dies, the entry is removed from the list.
Bug: 177524486
Test: m
CTS-Coverage-Bug: 179990440
Change-Id: I3fe8f2d2008171d6b069e8ee6f3b47e5b5d60cfa
2021-03-01 22:23:22 +01:00
Galia Peycheva
7fe1a92c60
Make WM.LP.blurBehindRadius a setter+getter
...
Bug: 181014794
Test: m && atest BlurTests
CTS-Coverage-Bug: 179990440
Change-Id: I3d8ceddcf1219df8decbbb0bf9a6bbb9d41799fb
2021-03-01 22:23:21 +01:00
Evan Rosky
47fc921576
Merge "Fix some bugs in input rotation" into sc-dev am: ee971e5648
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13693625
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I046cb9aa1e34ee02ffabce5438686b6412e37262
2021-03-01 20:07:47 +00:00