Robin Lee
e5b03a179a
Emulator: handle OOM and Protocol error cases
...
- OutOfMemoryError can happen naturally if the size of the clipboard is
too large to allocate. We should prefer to drop the clipboard data if
we have a choice between that and crashing the system server.
- OutOfMemoryError can happen unnatturally if the protocol gets out of
sync with the host. This can happen quite easily if there is a caught
exception and the clipboard monitor tries to keep on trucking, since
the protocol doesn't have any built in synchronisation to catch back
up to the start of the next message again. The only option to prevent
that at the moment is to just close the pipe and reopen it in case
of failure to understand something.
Bug: 231340598
Test: presubmit
Change-Id: Icceb8ec8b3988c32a2eb5f5598a43753460fc26b
2022-12-13 09:47:20 -08:00
Winson Chung
3b3cc625e0
Merge "Add missing device config permission" into tm-qpr-dev am: 74125f848d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20709595
Change-Id: If897d1cb28dbc694a8993f5c89e922a9dd8b7a0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:46:46 +00:00
Chet Haase
eb9a11a5dc
Merge "DO NOT MERGE Revert "Fix activity leak bug"" into tm-qpr-dev am: 9ff21630f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20674642
Change-Id: I41b24a9c42ad5e34a8d35623733f0f4885d4cd7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:45:09 +00:00
Chet Haase
f853979874
DO NOT MERGE Revert "Fix activity leak bug" am: c199efbeda
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20674642
Change-Id: I79e02866da2dce1a77aa65d22a34ba0e33c346a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:44:51 +00:00
Treehugger Robot
1b97c86627
Merge "Fix watchdog when NaN lux is reported." am: 8f870ada72 am: 8f7b85cb79
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2319253
Change-Id: I1eef09e0c3ae970e822c95883907e92a3434b79c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:40:20 +00:00
Fan Zhang
ab68e38786
Increase threshold for ESOS power button press detection
...
If pressing power button 5 times is faster than 200ms, we will
not trigger the ESOS experience. This is unlikely to be done by human. The fastest recorded button press is 60ms so the whole esos gesture sequence should be 300ms or so. We are taking 200ms threshold to be conservative.
Fix: 261618088
Test: rebuild, PTS
Change-Id: Id3f1d92623d17b2921cc0fb90c1f19f896946881
2022-12-13 17:37:10 +00:00
Winson Chung
74125f848d
Merge "Add missing device config permission" into tm-qpr-dev
2022-12-13 17:35:59 +00:00
Chet Haase
9ff21630f6
Merge "DO NOT MERGE Revert "Fix activity leak bug"" into tm-qpr-dev
2022-12-13 17:23:31 +00:00
Hawkwood Glazier
2b309bbc44
Merge "Fix Positioning of large custom clocks within frame" into tm-qpr-dev am: cd8590e5c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20668050
Change-Id: I046e7f4e1dced221d0336c70695a56ff06ac4b05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:09:14 +00:00
Tony Huang
ee9fc9cb9c
Merge changes Id75611af,I1ead6501 into tm-qpr-dev am: 8e315bb11d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20426398
Change-Id: I51fdc5b9b0195380108a25f796fe3083cc79b9cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:08:13 +00:00
Treehugger Robot
8f7b85cb79
Merge "Fix watchdog when NaN lux is reported." am: 8f870ada72
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2319253
Change-Id: I39b4ae49d9cbe553506bc287f3153e0759a58edc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:07:56 +00:00
Hawkwood Glazier
7b94772ce9
Merge "Correct Error reported to logcat when Plugin fails to load" into tm-qpr-dev am: 5c797b88e1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20714966
Change-Id: I5bac73c9ee6332551ccf2c902c73b26f0be1e1db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:06:33 +00:00
changbetty
987e2341ff
[LE Audio] Add BT LE headset check for voice call to update the icon
...
bug: 240506858
Test: manual test
Test: atest VolumeDialogControllerImplTest
Test: atest VolumeDialogImplTest
Change-Id: Id14ccbc7d3b9343f91c2356000229a0af0e9ced3
2022-12-13 18:05:06 +01:00
Hawkwood Glazier
cd8590e5c6
Merge "Fix Positioning of large custom clocks within frame" into tm-qpr-dev
2022-12-13 16:52:35 +00:00
Treehugger Robot
8f870ada72
Merge "Fix watchdog when NaN lux is reported."
2022-12-13 16:49:56 +00:00
Tony Huang
8e315bb11d
Merge changes Id75611af,I1ead6501 into tm-qpr-dev
...
* changes:
Support back to split
Support back gesture to split pair in background
2022-12-13 16:44:35 +00:00
Yuri Lin
4b48ec4489
Send FSIs on ranking update when they are no longer suppressed by DND.
...
This change allows notifications with full screen intents to show that FSI on a ranking update if they meet specific criteria (previously suppressed only by DND; not older than a few seconds; now no longer suppressed).
FSI on update only happens when the flag FSI_ON_DND_UPDATE is set to true.
Bug: 248325248
Test: HeadsUpCoordinatorTest, manual verifying the FSI actually shows up on update
Change-Id: I810ae951bc96908cc66a8831f88730021bdb64b6
2022-12-13 11:43:32 -05:00
Hawkwood Glazier
5c797b88e1
Merge "Correct Error reported to logcat when Plugin fails to load" into tm-qpr-dev
2022-12-13 16:39:57 +00:00
Beverly
6d611a1123
Always attempt AU w/ kg dismissal on fp failure
...
Test: atest KeyguardUpdateMonitorTest
Fixes: 262103001
Change-Id: Ic01e9eee57c0400c44324301468174f5c8cfe84d
2022-12-13 16:19:03 +00:00
Michael Mikhail
1e0854691e
Merge "Setting Flag for media falsing on" into tm-qpr-dev am: d23bb46ba2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20708681
Change-Id: I0c1b4df0a83cce48830a0b82ff1bba9aaf7e14c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 15:53:43 +00:00
Michael Mikhail
d23bb46ba2
Merge "Setting Flag for media falsing on" into tm-qpr-dev
2022-12-13 15:35:11 +00:00
Luca Zuccarini
39b9fc2a71
Make ActivityLaunchAnimator.Runner usable independently.
...
Bug: 250588519
Test: ran the suite and it still passed. No functional changes, only
reorganizing the code to make the Runner visible.
Change-Id: If36a132bbeb1eb75571b20582ba85e1067a5925b
2022-12-13 15:30:22 +00:00
Massimo Carli
de53131014
Fix Letterboxing for Transparent Activities
...
We want a not resizable transparent activity to inherits
the constraints from the activity below. This allows the
transparent activity to be letterboxed.
The specific logic for transparent activities is enabled
when the config_letterboxIsEnabledForTranslucentActivities
flag is true.
Fixes: 220703089
Test: Run `atest SizeCompatTests` with the following tests:
testApplyStrategyToTranslucentActivities
testTranslucentActivitiesDontGoInSizeCompactMode
testNotApplyStrategyToTranslucentActivitiesWithDifferentUid
testApplyStrategyToMultipleTranslucentActivities
Change-Id: I6b5e8517ae8286f7543c3f57c158276aab6cfbfc
2022-12-13 15:21:47 +00:00
Chandru S
06fe9de637
Add debug logs for haptics in NotificationPanelViewController.
...
Bug: 258138790
Test: manually, can see the logs in dump.
Change-Id: I84502e6837dbd935fa81f15d6a1a4f574ba83a0f
2022-12-13 15:19:51 +00:00
Rahul
a1f099ada9
Add AudioCapabilities for DTS audio formats
...
Add codec profile limits for DTS audio formats.
Bug: 235469058
Test: Build
Change-Id: I4685114bb8c0c75e894f692e71aa6f94e81c29d2
2022-12-13 15:19:07 +00:00
Jeff DeCew
64e1da0f7f
Merge "Promote the SEMI_STABLE_SORT flag from teamfood to droidfood" into tm-qpr-dev am: 679ef9c17e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20643663
Change-Id: I8878d664a4946a2853b286d632ce64b933281905
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 15:16:23 +00:00
Jordan Demeulenaere
55dbb599ea
Remove the <application> tag from SystemUIComposeFeatures
...
Bug: 242304109
Test: Manual
Change-Id: Ie0254c7ee7372eba00eaebab0333e083a8c46ae7
2022-12-13 15:40:14 +01:00
Jeff DeCew
679ef9c17e
Merge "Promote the SEMI_STABLE_SORT flag from teamfood to droidfood" into tm-qpr-dev
2022-12-13 14:36:21 +00:00
Tony Huang
1cb00496f1
Merge "Fix null surface crash when switch split" into tm-qpr-dev am: a6fa69cb01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20675387
Change-Id: I96912d2bc7c6e9619932e9f7d13fb417def90a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 13:57:37 +00:00
Tony Huang
a6fa69cb01
Merge "Fix null surface crash when switch split" into tm-qpr-dev
2022-12-13 13:41:41 +00:00
TreeHugger Robot
02c9a5ad4a
Merge "Add reset PULSING roundness on NotificationEntry removed" into tm-qpr-dev am: b08cafd991
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20692587
Change-Id: I7ee1b88d41fda8c5f18d16786376d8d147e3ffab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 12:44:39 +00:00
TreeHugger Robot
ceeb4ff94f
Merge "Removing logs for b/237743330" into tm-qpr-dev am: a1b16dfe42
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20710868
Change-Id: I433ad43e63dd922ec2081bb558b96029bc2f051c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 12:43:33 +00:00
Ivan Chiang
31ee71697c
Hotword: Add uid into the original metrics
...
We add new uid filed in HotwordDetectionServiceInitResultReported,
HotwordDetectionServiceRestarted and
HotwordDetectorKeyphraseTriggered. Update the metrics to log it.
Test: statsd_testdrive
Bug: 261793715
Change-Id: Ia49d5981be296c1143074774cc6c00fcc25671e6
Merged-In: Ia49d5981be296c1143074774cc6c00fcc25671e6
2022-12-13 12:28:46 +00:00
Justin Weir
b72e0002ac
Make touchXOutsideOfQs require split shade to be enabled
...
Also renames the method and adds doc. There were 3 calls to
touchXOutsideOfQs and two of the usages were also checking whether
split shade was enabled. Adding the split shade check to the third
fixed b/259591763. Since all usages are paired with the split shade
check, I've moved that into the method and renamed it accordingly.
Fixes: 259591763
Test: manual and atest
Change-Id: I01edaeceac0a04cc1d2d9af22fbdaf88d3a3162f
2022-12-13 12:21:57 +00:00
TreeHugger Robot
b08cafd991
Merge "Add reset PULSING roundness on NotificationEntry removed" into tm-qpr-dev
2022-12-13 12:07:42 +00:00
TreeHugger Robot
a1b16dfe42
Merge "Removing logs for b/237743330" into tm-qpr-dev
2022-12-13 12:05:13 +00:00
Pat Manning
ca60c81f91
Prevent top app thumbnail cropping by taskbar in split overview.
...
Bug: 260861673
Test: manual.
Change-Id: I2382dea27a6405f77ab0b5b0cec19ae449245630
2022-12-13 11:43:40 +00:00
Aurélien Pomini
c741fbb9eb
Merge "Remove usage of GlEngine" into tm-qpr-dev am: 5538ee1c74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20578407
Change-Id: I21aea86d44b63c3e53bd6dba528d7551cd34566e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 11:29:27 +00:00
Aurélien Pomini
5538ee1c74
Merge "Remove usage of GlEngine" into tm-qpr-dev
2022-12-13 11:07:02 +00:00
Vadim Caen
70aeb5a671
Merge "Adding OWNERS of virtual device as owner of the related tests Change-Id: I04d43328b2da93c12ba373efced4dc89181fc674 Test: N/A Bug: N/A" am: 7355e9fa69 am: 5c2d757610
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2345762
Change-Id: I855024e3159800a3f1a40d27ca6b3c14d059d1f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 10:49:34 +00:00
Vadim Caen
5c2d757610
Merge "Adding OWNERS of virtual device as owner of the related tests Change-Id: I04d43328b2da93c12ba373efced4dc89181fc674 Test: N/A Bug: N/A" am: 7355e9fa69
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2345762
Change-Id: I3d655ed4b07e1bc6da63580efef9e8b90ffc9cf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 10:18:15 +00:00
Vadim Caen
7355e9fa69
Merge "Adding OWNERS of virtual device as owner of the related tests Change-Id: I04d43328b2da93c12ba373efced4dc89181fc674 Test: N/A Bug: N/A"
2022-12-13 10:00:58 +00:00
Johannes Gallmann
d9aac37c80
Fix notification launch animation for split shade
...
The launchAnimationParams contain global coordinates. These need to be translated to local coordinates, since the NotificationStackScrollLayout does not have its origin at (0,0) in the split shade case.
Test: Manual, i.e. posting various types of notifications and analyzing the animations in screenrecordings.
Bug: 246932690
Change-Id: I9dd233d282d05fc25b3601180c775916ddb5197c
2022-12-13 10:00:45 +01:00
Tony Huang
5af1f6704d
Support back to split
...
Handle split screen enter while it still running background case.
Bug: 236317871
Fix: 235515745
Test: manual
Test: pass existing tests
Change-Id: Id75611afc446f74864e016cbaa51e501dcd55612
2022-12-13 08:41:16 +00:00
Terry Wang
d14ffacd46
[automerger skipped] Merge "DO NOT MERGE:Deflaky testLoggingStats_search_success" into sc-dev am: d530cd1ad1 am: 393f374fe4 -s ours am: 7ba46d7f15 -s ours am: 7b6b4fecb9 -s ours am: b61a643b33 -s ours am: e77864097f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621276
Change-Id: I036b88ba1d20b9ef43f700fc1416b470a79cb766
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 08:20:48 +00:00
Jeff Chang
76ce5869fc
Support back gesture to split pair in background
...
Split screen will be dismissed right after both sides of the split
were occluded. So if users try to use a back-gesture to go back to
the previous split pair, it’ll be back to home instead of going
back to the split pair. This CL support the split pair in background
to make split experience better.
Bug: 236317871
Test: atest com.android.wm.shell.SplitLayoutTests
Change-Id: I1ead65011ced82e1faa24ccfbc8bf474828fc7dc
2022-12-13 07:52:49 +00:00
Terry Wang
e77864097f
[automerger skipped] Merge "DO NOT MERGE:Deflaky testLoggingStats_search_success" into sc-dev am: d530cd1ad1 am: 393f374fe4 -s ours am: 7ba46d7f15 -s ours am: 7b6b4fecb9 -s ours am: b61a643b33 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621276
Change-Id: I240693d1461dae969f05681c8dd74e21bcd88f0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 07:40:24 +00:00
Terry Wang
b61a643b33
[automerger skipped] Merge "DO NOT MERGE:Deflaky testLoggingStats_search_success" into sc-dev am: d530cd1ad1 am: 393f374fe4 -s ours am: 7ba46d7f15 -s ours am: 7b6b4fecb9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621276
Change-Id: Iae35f9a5363cdf14d37b72e1d01ea52f87a734a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 07:06:27 +00:00
Rupesh Bansal
a15ffd0d0d
Add support to read refresh rate thresholds and controls from the
...
DisplayDeviceConfig
Bug: 193892229
Test: atest DisplayDeviceConfigTest
Change-Id: Iae19676b8c353fa62b6ff1f57201a2daec569877
Merged-In: I0295b0b8586d683ef3ad66f903de4874d4445f1c
2022-12-13 06:49:08 +00:00
Tony Huang
3426ed5637
Fix null surface crash when switch split
...
This crash is caused by doble tap sometimes trigger onResizing at
same time. This might be gesture limitation. We should avoid doing
screenshot fade-out animation at such situation because its bounds
didn't change.
Fix: 261809537
Test: manual
Test: pass existing tests
Change-Id: Ida6b6e5f9a19cc2a403bb97d8bc1744c24ad90f7
2022-12-13 06:35:32 +00:00