755845 Commits

Author SHA1 Message Date
Adrian Roos
a358e8c955 Merge "Revert "Add ScopedLocalRef for javaObjectForIBinder"" into tm-dev 2022-04-01 12:16:23 +00:00
mrenouf
d7013fb94e Merge "Fix edit button in screenshot share activity" 2022-04-01 12:10:01 +00:00
Jernej Virag
f6da6420c8 Merge "Move ClipboardOverlayController broadcast handling to background thread" into tm-dev 2022-04-01 12:00:26 +00:00
Nicolo' Mazzucato
1352b07488 Revert logic to calculate StackEndHeight
This partially reverts the logic to compute the stackEndHeight, as it doesn't make the shelf stick at the bottom when scrolling notifications. This might reintroduce the bug of trimmed notifications on lockscreen, that will be addressed in another cl.

Bug: 227733494
Bug: 214504318
Fixes: 226054279
Test: Test: atest ShelfInvisibleWithLowNotifications && atest ShelfVisibleAtTheBottom
Change-Id: I20286eb961d46439a0d80980c085a41b93241cb8
2022-04-01 13:51:05 +02:00
TreeHugger Robot
c5866bede0 Merge "Re-deprecate animation backgroundColor API" into tm-dev 2022-04-01 11:48:52 +00:00
Lyn Han
fbcaefde6c Merge "Remove unused isShadeOpening state" into tm-dev 2022-04-01 11:26:59 +00:00
Nicolo' Mazzucato
a456b2dddc Add basic integration tests for shelf
This adds tests for the behaviour of the notification shelf when there is an overflow of notifications.

Test: atest ShelfInvisibleWithLowNotifications && atest ShelfVisibleAtTheBottom
Bug: 227733494
Change-Id: I67eb243c4d1745a9f61bd4a7f2f785bce8d1c095
2022-04-01 11:16:32 +00:00
TreeHugger Robot
9b4b25e38f Merge "Fix fetching incorrect items after filtering" into tm-dev 2022-04-01 10:49:35 +00:00
Michael Wright
cf4d6368e1 Merge "Undeprecate LayoutParams.preferredRefreshRate" into tm-dev 2022-04-01 10:43:35 +00:00
Chun-Wei Wang
8b12d853d8 Merge "Fix NPE" into tm-dev 2022-04-01 10:32:47 +00:00
Tony Huang
86aff45356 Merge "Reduce flicker when resize animation" into tm-dev 2022-04-01 10:10:06 +00:00
Christian Göllner
a210d6f876 Merge "ScrimControllerTest: add more test cases for the alpha interpolation of the scrims" into tm-dev 2022-04-01 09:44:24 +00:00
Adrian Roos
c1442691bf Revert "Add ScopedLocalRef for javaObjectForIBinder"
This reverts commit 2b4d25be789ae2c4148d12fa7aa894bd5ff484d3.

Reason for revert: Crashes when the returned ref is a global ref (i.e. for all Java Binders), see b/227719836
Bug: 227719836
Bug: 225287201

Change-Id: I374a09f33821c7404f3d16d3d9e25aebd8eab1b0
2022-04-01 09:42:11 +00:00
Jim Blackler
a4dd0499bd Merge "Add loading boost intervention for games." into tm-dev 2022-04-01 09:39:44 +00:00
Christian Göllner
f46a363fae LockscreenShadeTransitionController: extract logic of keyguard and scrims
The file size was starting to grow for this class, so started extracting
some of it.

Also implemented dumpable for the new classes for better tracking of state
in bug reports.

Bug: 227604286
Test: LockscreenShadeTransitionControllerTest.kt
Test: adb shell dumpsys activity service SystemUIService
Test: Manually
Change-Id: Iebd36726ebffdb9b6a37e742f69d7e5a80f25e6e
2022-04-01 11:39:23 +02:00
Vadim Caen
87a1c2dd46 Merge "Ensure no animation is run except for HOME" into tm-dev 2022-04-01 09:23:26 +00:00
Vadim Caen
b23c8c8e87 Add View.findOnBackInvokedDispatcher
To make it easier for developer to migrate away from KEYCODE_BACK
without having to walk up the view hierachy in order to find an
OnBackDispatcher, introduce findOnBackInvokedDispatcher.

Bug: 227301455
Test: android.view.cts.OnBackInvokedDispatcherTest#testGetDispatcherOnView
Change-Id: I7f3e76df596d306fa26d72df8115d5b15d7ac564
2022-04-01 11:15:30 +02:00
Nick Chameyev
a830367d97 Merge "Migrate unfold animation to Shell transitions [Part 1]" into tm-dev 2022-04-01 09:13:09 +00:00
Zoey Chen
db7058fabe [LeAudio] Create QR code scanner activity and fragment
hsv: https://hsv.googleplex.com/6255792371007488

Bug: 214340362
Test: manual
Change-Id: I254b7d1b7191686da4c1ca7cd2eb980ab8606c4e
2022-04-01 17:00:42 +08:00
Chris Li
add68184dd Register remote animation per Task
Before, we register remote animation per organizer, and assume it only
organizes in one Task. Now, we register per organizer Task if there is a
rule that supports split in the Task width.

Bug: 207720388
Test: atest WMJetpackUnitTests
Change-Id: Iac4e10af9aa0e7846c81b036b2cf708b6cbe627e
2022-04-01 16:47:46 +08:00
Automerger Merge Worker
a39853a085 Merge "Merge "DSU service: Log insufficient storage space error" am: 9b420e664a am: 1e43855f6c am: 8c48dc11cf" into tm-dev 2022-04-01 08:47:16 +00:00
Shaowei Shen
0a277c38ca Merge "[Output Swticher] Fix landscape truncate" into tm-dev 2022-04-01 08:46:41 +00:00
Yi-yo Chiang
404c27d323 Merge "DSU service: Log insufficient storage space error" am: 9b420e664a am: 1e43855f6c am: 8c48dc11cf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049806

Change-Id: Iee0a17c0517449a523aba8827915af79bc7b11eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:46:36 +00:00
Yi-yo Chiang
8c48dc11cf Merge "DSU service: Log insufficient storage space error" am: 9b420e664a am: 1e43855f6c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049806

Change-Id: I7b12a1c5d2dfb833c5330c44a35b110fc18c1859
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:29:33 +00:00
Tiger Huang
d513c66b1e Merge "Let setFrames can take frames passed from the client" into tm-dev 2022-04-01 08:26:17 +00:00
Yi-yo Chiang
1e43855f6c Merge "DSU service: Log insufficient storage space error" am: 9b420e664a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049806

Change-Id: I929141ce4840a879b62664c917904aa541b3f635
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:15:47 +00:00
Calvin Pan
a15af39f7f Fix fetching incorrect items after filtering
Using parent view's adapter to prevent getting incorrect item after
filtering the list.

Bug: 227447626
Bug: 227289977
Bug: 227279371

Test: By manual
Change-Id: Ic7dde57cdc0dd44adf803317f836131d578f044b
(cherry picked from commit d3df5bdf8436f320f1370922a52cf7d8e38d809b)
2022-04-01 08:05:04 +00:00
Yi-yo Chiang
9b420e664a Merge "DSU service: Log insufficient storage space error" 2022-04-01 07:53:59 +00:00
Ming-Shin Lu
63a95a2795 Fix insets animations being skipped when the host view was invisible
In case the insets animation frame will not be scheduled by render
thread when the host window was not visible to user, added
ViewRootInsetsControllerHost#isVisibleToUser to check when invoking
applySurfaceParams to schedule the next frame, if the host was not
visible means we don't have to synchronize with the window host and
just apply the surface transaction on the UI thread directly.

Fix: 206992027
Test: manual as steps
  1) Receive any incoming message
  2) Tap on inline reply to show the keyboard
  3) Tap on the voice input button on the keyboard
  4) when permission dialogue prompts on the screen, expecting both
     notification shade panel collpse animation and IME hiding animation
     are working fine without any stucked frame.

Change-Id: I266587d5a3f136149d116214e2a49de92466ec2e
2022-04-01 15:36:41 +08:00
Brian Lindahl
01aefc5462 Rename DensityMap to DensityMapping per API review
Test: build and presubmit passes
Test: atest DensityMappingTest
Bug: 215434050
Fixes: 215434050
Merged-In: Id54d23c088e98c6e629b62ccb74c9b1cd751615e
Change-Id: Id54d23c088e98c6e629b62ccb74c9b1cd751615e
(cherry picked from commit 140a80e4be09863ed221968c15a69931ef3a2e8f)
2022-04-01 07:01:05 +00:00
Sam Dubey
246a190e03 Merge "Revert "Fix shouldControlUnlockedScreenOff."" into tm-dev 2022-04-01 06:47:02 +00:00
Riddle Hsu
577eebd547 Merge "Skip reporting ANR on zero pid process" into tm-dev 2022-04-01 05:40:54 +00:00
Varun Shah
d12b43dd0e Add initial logging for App Background Restrictions metrics.
Bug: 217744262
Test: statsd_testdrive 441
Change-Id: I13c9f2acd6abc1e3b61aaff28086b9e53155d780
2022-03-31 22:38:19 -07:00
Yunfan Chen
16e58e7322 Provide gesture and tappable element insets for caption
Caption is covering the app region and will take gesture and tap events
when the user interact with the caption. This change will make sure the
app can receive the caption as a part of the tappable element insets and
gesture insets to avoid the caption overlaps with interactive elements
inside the window.

Bug: 219987804
Bug: 209717743
Test: atest, see the bugs

Change-Id: I6e48f8df6eb8f73a2f62f34109f4d80d09021929
2022-04-01 05:20:03 +00:00
Sarah Chin
ac94df2bab SetDataEnabled indicate calling package
Test: atest TelephonyManagerTest
Bug: 226149142
Change-Id: I769437e9332f27c0990c37f60ad6d9db284e86cf
2022-03-31 21:15:05 -07:00
Edgar Wang
9b7c98ce66 Merge "Update TabLayout background to align the latest spec" into tm-dev 2022-04-01 04:00:37 +00:00
Bill Yi
c25a868c01 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 03:44:13 +00:00
Eun-Jeong Shin
cd1c5cadb6 Merge "Update LogcatManagerService to call getUidProcessState to retrieve process state" into tm-dev 2022-04-01 02:57:04 +00:00
Eun-Jeong Shin
2959437e25 Merge "Update user consent dialog for device log access" into tm-dev 2022-04-01 02:53:22 +00:00
Ling Ma
c901b0b863 Truncate operator name to fit into SystemProp size
Test: manual
Bug: 210502588
Change-Id: I59a87fa256a9be54755199034e138a63d89f0885
2022-04-01 02:24:22 +00:00
Wei Sheng Shih
3b3491b9c3 Merge "Keep wallpaper on top when finish a non-fullscreen unoccluding window" into tm-dev 2022-04-01 02:16:52 +00:00
Julia Reynolds
e628998148 Merge "Fix race condition when removing auto-summaries" into tm-dev 2022-04-01 02:10:38 +00:00
Lucas Silva
fc8beb0ae1 Prevent the bouncer from showing over dreams when swiping down the
shade.

Currently, since the bouncer and notification shade utilize the same
panel, we see the bouncer appear when swiping down the shade. With this
fix, we only allow the bouncer to expand if the shade is not expanded.

Bug: 226419441
Bug: 224996347
Test: locally on device
Change-Id: I6f702cc1d262bb3a0397fadf7f14b8f3c683900d
2022-04-01 02:01:53 +00:00
Ling Ma
58d9786a64 Add truncateStringForUtf8Storage()
Test: manual
Bug: 210502588
Change-Id: I5d4ded0cb30151bc567cfedcdb1bbbdb9abdca9b
2022-03-31 18:57:05 -07:00
Peter Kalauskas
471391ddeb Merge "Use long-running executor for bg guest creation" into tm-dev 2022-04-01 01:52:25 +00:00
Zoey Chen
641107b271 Merge "LE_Broadcast New LeBroadcast and Assistant at ProfileManager" into tm-dev 2022-04-01 01:33:05 +00:00
Kweku Adams
c3e62a40be Merge "Make sure to stop EJs when quota is finished." into tm-dev 2022-04-01 01:02:15 +00:00
TreeHugger Robot
06acf51dd8 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:54 +00:00
TreeHugger Robot
3794415786 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:40 +00:00
TreeHugger Robot
2910ffa53f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:36 +00:00