Raphael Kim
99945d5d70
Merge "Implement dumpsys for CompanionDeviceManagerService.CompanionDeviceManagerImpl" into tm-dev
2022-06-01 00:03:42 +00:00
TreeHugger Robot
92538a9dbc
Merge "Fix "NetworkCallback was not registered" crash" into tm-dev
2022-05-31 22:16:47 +00:00
Hongwei Wang
eb700c0090
Merge "Validate content overlay before removal" into tm-dev
2022-05-31 19:24:48 +00:00
Issei Suzuki
0dfb582d5a
Merge "Exclude launcher from app transition animation while recents is running." into tm-dev
2022-05-31 15:48:01 +00:00
Jing Ji
57e03f3b30
Merge "Add component types which a process is hosting into the proc memstats" into tm-dev
2022-05-31 15:37:52 +00:00
Mady Mellor
91d28d1b21
Merge "Fix the pointer position when displayed in RTL" into tm-dev
2022-05-31 15:10:09 +00:00
Patrick Baumann
f598205c2d
Merge "Add visibility special casing for sdk sandbox" into tm-dev
2022-05-31 14:56:37 +00:00
Hongwei Wang
4c4b7ef959
Validate content overlay before removal
...
Bug: 234158920
Test: atest --iteration 20 --no-bazel-mode \
PinnedStackTests#testLaunchTaskByAffinityMatchSingleTask
Change-Id: I1ed848fcd742443a23ecaa17ba6b4fb8cdb061e2
2022-05-31 10:40:53 +00:00
Robert Horvath
d59d17d74a
Merge changes from topic "privacy-type-media-projection" into tm-dev
...
* changes:
Add MediaProjection privacy item type
Extract privacy item monitoring interface, add AppOpsPrivacyItemMonitor
2022-05-30 17:43:32 +00:00
TreeHugger Robot
c17eae2651
Merge "Invalidate autofill session on IME disconnect" into tm-dev
2022-05-30 16:50:17 +00:00
Ming-Shin Lu
c2a6a2efeb
Merge "Fix snapshot starting window isn't apply fixed-rotation with IME visible" into tm-dev
2022-05-30 12:24:51 +00:00
Robert Horvath
ea71e9e9c4
Merge "Improve LogAccessDialogActivity's rotation handling" into tm-dev
2022-05-30 11:37:55 +00:00
Ricky Wai
76f37a5d74
Merge "Only add boolean extra to bundle when the value is false" into tm-dev
2022-05-30 10:01:52 +00:00
Tiger Huang
1fab45404b
Merge "Only update the compat system UI visibility if the source is valid" into tm-dev
2022-05-30 08:40:03 +00:00
Ming-Shin Lu
7ee09c4b55
Fix snapshot starting window isn't apply fixed-rotation with IME visible
...
As IME window will be hidden by AsyncFadeAnimationController when
receiving IME show request in IMMS side during fixed-rotation.
we could remove the previous logic from CL[1] in case snapshot starting
window surface may not apply fixed-rotation when IME snapshot visible in
the first place, since in CL[2] has already removed the disable
fixed-rotation when animating snapshot starting window with IME visible.
[1]: Idfdf129adbfbee6634d8a27aa78da1f631bd213b
[2]: Iceaedbfdb75e68e9f7fb8fd4a1bf8f35a779797e
Bug: 230733128
Test: 1. Launch a portrait app which keeps showing IME. (e.g. Chrome)
2. Return to home be home key or swiping.
3. Hold the device in landscape.
4. Launch the app again.
The app should show in landscape directly and IME will
fade-in when it is drawn in landscape.
Change-Id: Ieb656aaa9f76d0f5dcc5487a6602e528ec771552
2022-05-30 08:34:39 +00:00
Nikolas Havrikov
79c5fed289
Invalidate autofill session on IME disconnect
...
Remember the latest InlineSuggestionsRequestCallback coming from the
autofill service, so that its autofill session can be invalidated
when the IME process is unbound or stopped.
Test: atest InlineWebViewActivityTest#testAutofillOneDataset
Bug: 226240255
Change-Id: I49cf295b95cec33b7eb404eab62b900014d09e26
(cherry picked from commit 33dc7f89c8 )
Merged-In: I49cf295b95cec33b7eb404eab62b900014d09e26
2022-05-30 08:22:08 +00:00
Wenhao Wang
edfc3fa2ae
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours am: c543f70e3d -s ours am: aa456df74e -s ours am: b1cf2a0cd2 -s ours am: 718d5a4d2f -s ours am: e9f7ca4fd5 -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: Iab195185cff6a1a09845d48bf74d0b5045c21d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 08:07:34 +00:00
Wenhao Wang
e9f7ca4fd5
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours am: c543f70e3d -s ours am: aa456df74e -s ours am: b1cf2a0cd2 -s ours am: 718d5a4d2f -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: If384bbd807b6b10bbafebf359d11b725b30db72e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 07:51:13 +00:00
Wenhao Wang
718d5a4d2f
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours am: c543f70e3d -s ours am: aa456df74e -s ours am: b1cf2a0cd2 -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: Id2ee63db92aae509297f6e014a03fe7ccf574497
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 07:33:49 +00:00
Wenhao Wang
b1cf2a0cd2
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours am: c543f70e3d -s ours am: aa456df74e -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: I5926ea7d571c78eae47ca529cb0a166c2a718519
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 06:58:02 +00:00
Wenhao Wang
aa456df74e
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours am: c543f70e3d -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: Id295b15c1e6469ee9f50babb2f4c057d78d67e7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 06:35:00 +00:00
Julia Reynolds
d400ef9b4d
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours am: f3a82a3b59 -s ours am: b50f345f57 -s ours am: f03f3fad8b -s ours am: 692a08086e -s ours am: 61c6c8ba09 -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: Id34e71280cebda99a0861c89af03d77806102abe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 06:34:54 +00:00
Julia Reynolds
61c6c8ba09
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours am: f3a82a3b59 -s ours am: b50f345f57 -s ours am: f03f3fad8b -s ours am: 692a08086e -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: Id7065a864f7b11ca96085bc2870ce12d46c13533
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 06:12:27 +00:00
Wenhao Wang
c543f70e3d
[automerger skipped] Revert "[conflict] Move service initialization am: 38fe45b539" am: 8bb5e98ecb -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 38fe45b539 is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659051
Change-Id: I44b0bee5c0ba597407652dd2c1af868adcee724a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 06:11:04 +00:00
Julia Reynolds
692a08086e
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours am: f3a82a3b59 -s ours am: b50f345f57 -s ours am: f03f3fad8b -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: Ide0431351cbc788dc0c4ca649a8b5eedbd9a93ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 05:39:09 +00:00
Wenhao Wang
8bb5e98ecb
Revert "[conflict] Move service initialization am: 38fe45b539"
...
This reverts commit 012cace2ee .
Reason for revert: This CL depends on ag/17823648, which is not merged into qt-qpr1-dev.
Change-Id: I503bcc1e979dd4db941cb7754f63a0dc35ce9682
2022-05-30 05:30:08 +00:00
Julia Reynolds
f03f3fad8b
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours am: f3a82a3b59 -s ours am: b50f345f57 -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: Icbb45e04112d49968b4a2f33693793ef01fb95b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 05:14:00 +00:00
Julia Reynolds
b50f345f57
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours am: f3a82a3b59 -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: I1f15a3a4dd6fe04321ecda11bb16dc6f2aef175c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 04:53:17 +00:00
Julia Reynolds
f3a82a3b59
[automerger skipped] [conflict] Move service initialization am: 38fe45b539 am: 012cace2ee -s ours
...
am skip reason: Merged-In I2f9f9bdba37f4ebfaea56c1a6662f0474ae8a002 with SHA-1 caa5a22ea0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18625677
Change-Id: I094361ea2d938bd3e7ff77e66f68cf23d8e25ee2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-30 04:05:13 +00:00
Edgar Wang
3aa0a120b1
Merge "Enable hyphenation on most of preference." into tm-dev
2022-05-30 04:00:19 +00:00
Antony Sargent
fc6eb70e0e
Merge "Prevent deadlocks during VirtualDisplay creation" into tm-dev
2022-05-30 00:09:18 +00:00
Antony Sargent
725dad7d71
Prevent deadlocks during VirtualDisplay creation
...
When creating a VirtualDisplay for a VirtualDevice, we need to do some
extra work like setting up for input injection, creating a
DisplayWindowPolicyController, and grabbing a wakelock to keep the
display awake. Some parts of this extra work end up calling back into
the DisplayManagerService from another thread, but since we're already
holding the mSyncRoot lock we sometimes get into situations where
those threads get blocked trying to acquire mSyncRoot, while holding a
lock that another thread ends up needing like the global window
manager one, so we get deadlock.
The fix in this CL is to break up the extra work the
VirtualDeviceManagerService needs to do into two parts: one part that
happens before the VirtualDisplay is created, and one part
after. Neither of these needs mSyncRoot to be held.
Fixes: 230544802
Test: atest CreateVirtualDisplayTest
Change-Id: I6a6e03f816567579510b3f1ef0705375549a3c88
2022-05-29 11:18:36 -07:00
Henry Fang
9dd35d01f8
Merge "Allow LNB to be opened before Frontend" into tm-dev
2022-05-28 18:43:29 +00:00
Hongwei Wang
83979ad7b7
Merge "Fix the animation position when launch into PiP" into tm-dev
2022-05-28 06:14:33 +00:00
Jing Ji
f3dabda4b0
Merge "Check if the ANR dump is still ongoing before reporting it" into tm-dev
2022-05-28 03:48:07 +00:00
TreeHugger Robot
b44f1fa8ae
Merge "Always restart apps for full installs." into tm-dev
2022-05-28 03:00:47 +00:00
Beth Thibodeau
0e29401d65
Merge "Add check for null token when updating state" into tm-dev
2022-05-28 02:10:28 +00:00
TreeHugger Robot
17634b9b45
Merge "MediaCodec: realloc & copy for non-secure buffers at secure session & vice versa" into tm-dev
2022-05-28 00:09:37 +00:00
TreeHugger Robot
57961f0cf5
Merge "AudioService: fix VolumeShaper operation for muteAwaitConnection" into tm-dev
2022-05-27 23:45:36 +00:00
TreeHugger Robot
14f92d8897
Merge "[Output Switcher] [A11y] Add description for seekbar" into tm-dev
2022-05-27 23:23:01 +00:00
Jack Yu
ccfa25d83c
Merge "Improved telephony registry logging" into tm-dev
2022-05-27 23:19:24 +00:00
TreeHugger Robot
81d47257ba
Merge "[Device Config] Ensure every config has a default setting." into tm-dev
2022-05-27 22:29:04 +00:00
TreeHugger Robot
970cdf91ec
Merge "Fix INTERACT_ACROSS_USERS change version" into tm-dev
2022-05-27 22:10:46 +00:00
Alex Buynytskyy
93c2c2a292
Always restart apps for full installs.
...
Bug: 219044664
Test: atest PackageManagerShellCommandTest
Change-Id: I920d4ae03d6337319ea9c07dacd317a754caf1c1
2022-05-27 21:56:48 +00:00
Raphael Kim
0bdc2763a9
Merge "Move binder death handling logic to ServiceConnector#binderDied()." into tm-dev
2022-05-27 21:17:31 +00:00
Jing Ji
d430377b2f
Check if the ANR dump is still ongoing before reporting it
...
Bug: 234003550
Test: Manual
Change-Id: I7a6161afe33ec1b7b2094cccb99686215fb5ecaa
2022-05-27 14:05:22 -07:00
TreeHugger Robot
81ac10a9de
Merge "Defuse notification race around app stops" into tm-dev
2022-05-27 20:59:24 +00:00
Hongwei Wang
15d8ea3a9b
Fix the animation position when launch into PiP
...
When attach the task snapshot to the leash of newly created Task, move
its position to the new Task's coordinates and apply the crop with scale
in mind (snapshot is scaled to its task size).
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/d72OCvyYh0G0Z6YrEwyXMp
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eacts7tgSeN28R3BWpXAem
Bug: 232984253
Test: launch into PiP with source rect hint middle of screen, \
see also the video
Change-Id: Ib79e75d7e6f6f667e50db197d5377b87cffc714d
2022-05-27 13:55:19 -07:00
Chen Xu
399d8e96ff
Merge "Updating the error message for clear understanding of Deprecated methods. Test: manual Bug: 234089071" into tm-dev
2022-05-27 20:53:12 +00:00
Beth Thibodeau
fc384f5a18
Add check for null token when updating state
...
MediaController requires a non-null token as input, which updateState
did not check before calling. The token is required to be non-null
already for active media, but it can be null for resume players, so it's
possible for users to hit a race condition between the notification
removal (token set to null) and a final PlaybackState update (attempting
to use the token).
Also added an annotation to the MediaControllerFactory method so that Kotlin
code is aware of this requirement.
Fixes: 231733532
Test: atest MediaDataManagerTest
Change-Id: Id5e4a52cba74fafa04331a663cd4ce870fe920a2
2022-05-27 15:42:49 -05:00