Yan Han
39d2938341
Fix system server crash on receiving <Report Audio Status>
...
This crash occurs when enabling absolute volume behavior, when
we receive <Report Audio Status> with an out-of-bounds volume level.
This is parsed as a negative error code, which causes
HdmiControlService to attempt to construct a VolumeInfo with a
negative volume. This throws an IllegalArgumentException.
To fix this, we ignore <Report Audio Status> messages with out-of-bounds
volume levels. To help prevent future issues, we also enforce that the
AudioStatus object can only represent volume levels in the [0, 100]
range.
Bug: 281821462
Test: atest TvToAudioSystemAvcTest PlaybackDeviceToTvAvcTest
PlaybackDeviceToAudioSystemAvcTest
Change-Id: I31dc0fd58da511262d829a10f7f03a4f0c99c05d
2023-05-10 15:43:49 +02:00
Treehugger Robot
6aecb91bd1
Merge "Put change type below closing type for a close transition" into udc-dev
2023-05-08 09:39:41 +00:00
Treehugger Robot
ad693c128c
Merge "Restrict change mode to apply transition background" into udc-dev
2023-05-08 09:20:19 +00:00
Riddle Hsu
77e889f271
Put change type below closing type for a close transition
...
Assume a translucent task is closing, the next visible task
may be added to transition participant by collectOrderChanges
as the task is moving to the foreground. Then the transition
info will be {CLOSE, top:CHANGE, bottom:CLOSE}.
So the z-order will be:
numChanges=2
zSplitLine=3
CLOSE=3+2-1=4
CHANGE=3+2-0=5
Then the CLOSE is occluded by the CHANGE incorrectly.
Bug: 281010752
Test: Launch a translucent activity from launcher and it calls
Activity#finishAndRemoveTask(). The activity should not
be covered by the icon on launcher during animation.
Change-Id: I1236946c867abf1b93fca39c4dd9ed114118c051
2023-05-08 15:57:07 +08:00
Riddle Hsu
f3475fcf11
Merge "Use local leash to animate PiP activity surface" into udc-dev
2023-05-08 07:07:40 +00:00
Charles Chen
385ab32421
Merge "Fix primary activity untouchable with punch hole" into udc-dev
2023-05-08 05:31:16 +00:00
Treehugger Robot
8bf2277ff1
Merge "Do not crash ui app upon bad provider pending intent." into udc-dev
2023-05-08 04:29:32 +00:00
Treehugger Robot
58897d9b41
Merge "Bug fix caused by animation." into udc-dev
2023-05-08 04:05:23 +00:00
Tony Huang
596240b3bc
Merge "Fix RemoteTransitionTest" into udc-dev
2023-05-08 03:12:05 +00:00
Helen Qin
b2f96a28bc
Do not crash ui app upon bad provider pending intent.
...
Test: manual
Bug: 281335878
Change-Id: I37eb8ecf9d24131cfedc4a5344a5f7c608f44534
2023-05-08 03:11:47 +00:00
Helen Qin
76694b6ebb
Bug fix caused by animation.
...
The animation state was not stored across activity relaunch upon
configuration changes and hence cause bug for relaunching the bottom
sheet after a configuration change. This fix stores the animation state
across configuration changes.
Test: manual
Bug: 281438960
Change-Id: I68fac15e89cc104ee8254d27ff02730399e7469b
2023-05-08 02:52:30 +00:00
Evan Rosky
3d8774d28f
Merge "Don't prematurely apply finishT in taskview handler" into udc-dev
2023-05-08 01:44:23 +00:00
Yunfan Chen
0a141fd6fa
Let gesture detector take display ID as param (2/n)
...
The gesture detector was taking the DisplayTracker and always use the
default display to system UI as the display to monitor input events.
To support the effort to handle transient animation when the bars are
hidden by the app, we need to support a multi-display awared
environment.
This change simply altered the constructor params and make corresponding
changes to its caller to make it be possible to monitor inputs on any of
the given displays.
No actual funtional changes in this patch.
Bug: 277290737
Test: m
Change-Id: I05ea38f409e3f2e7282b608dd841855e80559f3c
2023-05-07 23:54:45 +08:00
TreeHugger Robot
de6724e24f
Merge "Introduce Client Transient flag (1/n)" into udc-dev
2023-05-07 15:20:57 +00:00
Rupesh Bansal
4c30ffa634
Merge "Fix the issue of increasing brightness with KEYCODE_BRIGHTNESS_DOWN event" into udc-dev
2023-05-07 14:13:46 +00:00
Lyn Han
728257062b
Merge "Remove GRANT_RUNTIME_PERMISSIONS from SpaPrivileged Manifest" into udc-dev
2023-05-06 23:52:10 +00:00
George Lin
d6a5b13008
Merge "Fix fingerprint on lockscreen preivew" into udc-dev
2023-05-06 14:24:45 +00:00
Simranjit Kohli
842ad4a540
Merge "PCC Authentication Fix authentication where the Provider may supply results by setting in hints. Similar to what we support for onFillResponse, providers can set response for types initially requested for PCC." into udc-dev
2023-05-06 10:47:18 +00:00
TreeHugger Robot
de51a7e294
Merge "Fix status mismatch in TunerCallbackAdapter" into udc-dev
2023-05-06 08:27:56 +00:00
Weilin Xu
7bce4ddf1e
Fix status mismatch in TunerCallbackAdapter
...
In onTuneFailed method in TunerCallbackAdapter, error status was
converted according to TunerResultType instead.
Bug: 280699939
Test: atest TunerAdapterTest
Change-Id: I5707edfebda0217af4b2e3adc5bb9150f521f344
2023-05-06 07:14:59 +00:00
Winson Chung
2d3f07bfc2
Merge "Enforce sysui-held permissions when getting main launch intent" into udc-dev
2023-05-06 07:12:28 +00:00
Kholoud Mohamed
f26688cbe7
Merge "Mark inheritable policies for clone profiles" into udc-dev
2023-05-06 06:42:31 +00:00
Simranjit Kohli
fec1a4311e
PCC Authentication
...
Fix authentication where the Provider may supply results by setting in
hints. Similar to what we support for onFillResponse, providers can set
response for types initially requested for PCC.
Test: atest CtsAutoFillServiceTestCases
BUG: 280329574
Change-Id: I3a25e9db2375174915dd1edf95b95ce9e7db84fe
2023-05-05 22:25:52 -07:00
BK Choi
7c8d60cd66
Merge "Make getAliveUsers() and getUsers() as @TestApi." into udc-dev
2023-05-06 03:53:55 +00:00
Austin Borger
84f37f7408
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours am: 5bbfc0fc32 -s ours am: 6f584c5cac -s ours am: 206559a3cc -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: I5b01a8716ac9e86487fabb50751e5a146902155b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 03:43:22 +00:00
Omer Ozer
e99b007c26
Merge "Add a distinct name for cred reg flow." into udc-dev
2023-05-06 03:38:04 +00:00
George Lin
d64d15f607
Fix fingerprint on lockscreen preivew
...
1. Fingerprint's color should be text primary
2. Fingerprint should be solid lines
3. Fingerprint should be 50% of the width and height
Test: Tested the fingerprint on the lockscreen preview shows correctly. See bug.
Bug: 280334700
Change-Id: I8b92316bcfe30ae9724259ba8abfe6af4c2c5463
2023-05-06 03:10:36 +00:00
Austin Borger
206559a3cc
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours am: 5bbfc0fc32 -s ours am: 6f584c5cac -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: Ic5f5cf59988165791d09d610434f258332677ab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 03:04:52 +00:00
Austin Borger
fc021e276c
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours am: 5bbfc0fc32 -s ours am: c632a149e8 -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: Ifa0b120d22951fd333b56d8ce4b863388ddc4248
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 03:02:12 +00:00
Aaron Liu
5490ac6eae
Merge "Revert "Revert "Add CUJ tracking in animation listener.""" into udc-dev
2023-05-06 02:36:49 +00:00
Austin Borger
6f584c5cac
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours am: 5bbfc0fc32 -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: Iad289b0c6bbe0a93f7fe0ff8efe8faf6e1f2c2be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 02:22:23 +00:00
Austin Borger
c632a149e8
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours am: 5bbfc0fc32 -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: I0df8ca5a899cf04b8838c92a6fb3e76f5f239dd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 02:21:25 +00:00
Austin Borger
5bbfc0fc32
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours am: 6f8c5e373e -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: Ia0ddecf7055b0d6740bc7a01ee47873286fc9806
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 01:34:47 +00:00
Treehugger Robot
4f1352fda8
Merge "Fix: EditText crash when insert emoji in insert mode" into udc-dev
2023-05-06 01:33:11 +00:00
William Leshner
e0d543fcf9
Merge "Fix a transition issue when entering a dream." into udc-dev
2023-05-06 01:07:42 +00:00
Treehugger Robot
8587f769e8
Merge "Ensure primary provider is contained in the list of enabled providers" into udc-dev
2023-05-06 01:02:50 +00:00
Louis Chang
fa4ff95cb1
Merge "Make USER_CURRENT accessible by the Test" into udc-dev
2023-05-06 00:58:51 +00:00
Austin Borger
6f8c5e373e
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours am: 337cd41d3f -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: I47dc87ebde9a4a53eff27c5fd5dee85523bf72de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 00:56:25 +00:00
Treehugger Robot
4dae2bfd28
Merge "Add and update log statements for desktop proto" into udc-dev
2023-05-06 00:55:53 +00:00
Jorge Gil
ec1600139c
Merge "Add @jorgegil to freeform and tests owners (cherry picked from https://android-review.googlesource.com/q/commit:386b86e8e1102c5d7e0d9caaec936efae5d4db60 )" into udc-dev
2023-05-06 00:50:52 +00:00
Jorge Gil
363767a6f5
Add @jorgegil to freeform and tests owners
...
(cherry picked from https://android-review.googlesource.com/q/commit:386b86e8e1102c5d7e0d9caaec936efae5d4db60 )
Bug: 281159441
Merged-In: I4c363e67736460ab01118847ce57592edd0f1a50
Change-Id: I4c363e67736460ab01118847ce57592edd0f1a50
2023-05-06 00:50:39 +00:00
Jack He
7ed617c5e9
Merge "Modify the string of LE audio" into udc-dev
2023-05-06 00:42:40 +00:00
Austin Borger
337cd41d3f
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours am: 0a5315c6fd -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: Ia247caf2008c5059a4e1d2c1d722cf3e0bfd24f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-06 00:11:29 +00:00
Omer Ozer
afd4518804
Add a distinct name for cred reg flow.
...
Bug: 274494843
Bug: 273353677
Test: manual
Change-Id: I90b1fa367a7a77dfdb91be67f7de7ceb4606338a
2023-05-06 00:10:41 +00:00
Austin Borger
0a5315c6fd
[automerger skipped] Merge "ActivityManagerService: Allow openContentUri from vendor/system/product." into rvc-dev am: 2a509c82ba am: 1678956190 -s ours
...
am skip reason: Merged-In I0335496d28fa5fc3bfe1fecd4be90040b0b3687f with SHA-1 e37820e47c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22911665
Change-Id: I0dc94cac6b2a6e6011330ce94fd2ae506a3f7745
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-05 23:30:44 +00:00
Haoyu Zhang
74ad406b7c
Merge "Fix: insert mode crash when EmojiCompat is used" into udc-dev
2023-05-05 23:29:13 +00:00
Jerry Shi
e0daeb4c2b
Ensure primary provider is contained in the list of enabled providers
...
Test: build local
Bug: 281121157
Change-Id: I3d9f8a57ab4fc89bbc91c43d050fc0d05ee998e7
2023-05-05 23:26:47 +00:00
Sherry Zhou
3146826cf0
Merge "Fix weather clock clipped when swiping in Lockscreen" into udc-dev
2023-05-05 23:18:23 +00:00
Evan Rosky
2bff4a96cf
Don't prematurely apply finishT in taskview handler
...
The finish-transaction is supposed to be applied by the
transition player since the order matters. By applying it
in TaskViewTransitions, it was causing operations to run
out-of-order leaving broken surface hierarchies. This
removes the erroneous apply() calls.
Also, set surface position to 0,0 on surfaceChanged to
match surfaceCreated -- otherwise we end up with a double
offset.
Bug: 277759491
Test: open new homecontrols from dream (observe no offset),
then close them via the X button (should return to dream).
Change-Id: I4527df33b29ad93045928d8e73b0698a36d95081
2023-05-05 16:18:00 -07:00
Tyler Gunn
5bfe44b049
Merge "Clarify REMOTE disconnect cause API docs." into udc-dev
2023-05-05 22:47:57 +00:00