Commit Graph

759608 Commits

Author SHA1 Message Date
Victor Hsieh
4e2e4c9337 Revert "Remove workarounds by data_device_bins"
This reverts commit 279bf21281.

Manual change:
 * Resolved conflicts in Android.bp to not change "test_suites".
 * bpfmt to silence repo upload warning

Fixes: 229948069
Fixes: 230556754
Test: TH
Change-Id: Iecccae4008c6fefd3f6ab47fb5e37ca4b22090be
2022-05-06 16:32:23 -07:00
Alex Buynytskyy
253e417e76 Merge "Temp skip /product folder during root-hash calculation." into tm-dev 2022-05-06 23:00:13 +00:00
TreeHugger Robot
645f51d337 Merge "Properly protect ShortcutPackage#mShortcuts with synchronization lock." into tm-dev 2022-05-06 22:57:07 +00:00
Kenneth Ford
8721d110fd Ignore tests in RecoverableKeyStoreManagerTest
Ignores unit tests that were causing a Droidmonitor breakage.

Bug: 231667368
Test: N/A
Change-Id: I719312475264e8099edb607a941468c1c5ecb1a5
2022-05-06 22:51:04 +00:00
TreeHugger Robot
4d2e7336fe Merge "Use callback executor when querying wallet cards from QAW client." into tm-dev 2022-05-06 22:16:25 +00:00
T.J. Mercier
430761bb29 Merge "Freeze all package processes before killing" into tm-dev 2022-05-06 21:16:51 +00:00
Song Hu
42bf145179 Merge "ChooserActivity reports whether the selected target is pinned in Westworld logging" into tm-dev 2022-05-06 20:36:02 +00:00
TreeHugger Robot
1fa02f66dc Merge "Keep ArtStasLog write() functions" into tm-dev 2022-05-06 20:24:22 +00:00
Shan Huang
e3a61826eb Merge "Migrate IME to handle back with OnBackInvokedDispatcher." into tm-dev 2022-05-06 19:35:42 +00:00
Scottie Biddle
c6b20b66d5 Merge "Move CtsQuickAccessWalletTestCases to presubmit-large." into tm-dev 2022-05-06 19:29:14 +00:00
Mark Punzalan
4442058508 Merge "Reset translation state when views disappear." into tm-dev 2022-05-06 19:26:09 +00:00
Sooraj Sasindran
5d4978d3f5 Merge "Allow device owner to configure preferential network service" into tm-dev 2022-05-06 18:50:35 +00:00
Sudheer Shanka
adb9a2e203 Merge "Allow apps receiving MediaSession callbacks to start FGS from BG." into tm-dev 2022-05-06 18:39:56 +00:00
TreeHugger Robot
d0601bbcde Merge "Reset display input properties when removed" into tm-dev 2022-05-06 18:19:38 +00:00
Chavi Weingarten
823b164edd Merge "Set focus to WMS computed focus when embedded window drops focus" into tm-dev 2022-05-06 18:07:46 +00:00
Ling Ma
9525088a52 Merge "Add dataFailCause existence check" into tm-dev 2022-05-06 17:54:20 +00:00
Alan Stokes
8c9302c9f2 Keep ArtStasLog write() functions
Some of these functions are called from IsolatedCompilationMetrics, a
class added to the system server classpath by the (non-updatabale)
com.android.compos APEX. Without this they are stripped as apparently
unused, leading to system server crashing when we try to call them.

Bug: 231271783
Test: Stage APEX, observe no crash, job scheduled successfully
Test: atest CompOsSigningHostTest#verifyArtUpgradeGeneratesAnyArtifacts
Change-Id: I5ad0249b0aae87e98ebdd3deb6e8c58bfb691ebc
2022-05-06 18:35:12 +01:00
Silin Huang
95b04b1154 Use callback executor when querying wallet cards from QAW client.
Bug: 230390636
Test: manual
Change-Id: I8224ae24de840ee1e1c4649137d73360be2fa22b
2022-05-06 16:55:38 +00:00
Andy Hung
46e3f92171 Merge "SpatializerHelper: Fix addCompatibleAudioDevice, removeCompatibleAudioDevice" into tm-dev 2022-05-06 16:27:05 +00:00
Scottie Biddle
d5db263384 Move CtsQuickAccessWalletTestCases to presubmit-large.
One of the tests contained therein takes more than a minute to run, so these belong in presubmit-large

Change-Id: I2f216badf1e79fc7339098bad0157f76cc2fd73f
Test: atest CtsQuickAccessWalletTestCases
Fixes: 225066814
2022-05-06 16:24:11 +00:00
TreeHugger Robot
876ce10505 Merge "Adjust interpolator for shade unlock to match mocks." into tm-dev 2022-05-06 15:55:32 +00:00
TreeHugger Robot
ad237705da Merge "Fix logging crash in ResolverRankerService model" into tm-dev 2022-05-06 15:48:55 +00:00
TreeHugger Robot
ea9f1bc844 Merge "Don't use a scrollable dialog for CastDialog" into tm-dev 2022-05-06 15:42:54 +00:00
T.J. Mercier
6eff4d8f1b Freeze all package processes before killing
Apps are able to prevent their death by forking multiple processes
under different services and monitoring for the death of any of these.
When a child death is detected, the remaining process restarts the
terminating/terminated service before it's able to be killed itself.
This is now prevented by freezing all processes before killing any of
them so that no process can react to the death of another.

Bug: 148425913
Test: vsoc_arm64:/ $ monkey -p com.haok.nirvana 1
Test: bash arg: -p
Test: bash arg: com.haok.nirvana
Test: bash arg: 1
Test: args: [-p, com.haok.nirvana, 1]
Test: arg: "-p"
Test: arg: "com.haok.nirvana"
Test: arg: "1"
Test: data="com.haok.nirvana"
Test: Events injected: 1
Test: ## Network stats: elapsed time=3200ms (0ms mobile, 0ms wifi, 3200ms not connected)
Test: vsoc_arm64:/ $ ps -eo pid,uid,ppid,name|grep 10088
Test: 6827 10088  2973 com.haok.nirvana
Test: 6850 10088  2973 com.haok.nirvana:resident
Test: 6867 10088  2973 android.media
Test: 6895 10088     1 app_d
Test: 6899 10088     1 app_d
Test: vsoc_arm64:/ $ am force-stop com.haok.nirvana
Test: vsoc_arm64:/ $ ps -eo pid,uid,ppid,name |grep 10088
Test: 1|vsoc_arm64:/ $
Test: Also tested manually on Pixel 6 Pro
Change-Id: Ib0231eaf4b11b15a3d6bac5dc5486844f0f81d18
Merged-In: Ib0231eaf4b11b15a3d6bac5dc5486844f0f81d18
2022-05-06 15:40:47 +00:00
Edgar Wang
6cbe51cb4e Merge "Update switch status of PrimarySwitchPrefence when disallow by Admin" into tm-dev 2022-05-06 15:39:03 +00:00
Dave Mankoff
7ee5bcf827 Merge "Move EnhancedEstimates to PowerModule" into tm-dev 2022-05-06 15:18:08 +00:00
Evan Severson
f209ae03e9 Merge "Allow system server uid to bypass location restriction" into tm-dev 2022-05-06 14:54:52 +00:00
Christine Franks
2d47a57d34 Reset display input properties when removed
Bug: 227352703
Test: atest CtsHardwareTestCases:android.hardware.input.cts.tests.VirtualMouseTest --iterations 10
  and adb shell dumpsys input | grep mAdditionalDisplayInputProperties
  returns nothing

Merged-In: I4b8ca7f52079260eb9bf4cc8c69d88713087d6ac
Merged-In: I96ae978f467a450bca142de0b98b2643f155f15e
Change-Id: I4b8ca7f52079260eb9bf4cc8c69d88713087d6ac
2022-05-06 14:47:52 +00:00
Hawkwood Glazier
4b33784612 Merge "Squishy ViewState no longer mutates global album art widgetState" into tm-dev 2022-05-06 14:30:38 +00:00
Vaibhav Devmurari
b5863e8d6c Merge "Shift RoundedCornerOverlay to Display window hierarchy" into tm-dev 2022-05-06 14:25:45 +00:00
Arthur Hung
4a8619cedb Merge "Fix pip window can't move in recents" into tm-dev 2022-05-06 14:06:41 +00:00
Pablo Gamito
7ecba896fa Merge "Start edge extension animations in sync" into tm-dev 2022-05-06 13:05:53 +00:00
TreeHugger Robot
db2310a284 Merge "Complete Reference RCU keylayout with all buttions" into tm-dev 2022-05-06 11:44:05 +00:00
Arthur Hung
4bf81d5758 Merge "Fix back gesture send to wrong focus window" into tm-dev 2022-05-06 11:12:19 +00:00
Jacqueline Bronger
b6de832709 Merge "Add more information to the TV PiP notification" into tm-dev 2022-05-06 10:39:27 +00:00
TreeHugger Robot
10ba4dab0c Merge "Fix error in javadoc" into tm-dev 2022-05-06 09:24:43 +00:00
Edgar Wang
8e9be558b8 Update switch status of PrimarySwitchPrefence when disallow by Admin
Bug: 230430179
Test: robotest & manual verify
Change-Id: I30ed5dfdcf09a83ae6030ede269d426a82def596
2022-05-06 08:35:27 +00:00
Alex Johnston
7b1e39d5c1 Merge "Update DevicePolicyManager network logging docs" into tm-dev 2022-05-06 08:08:43 +00:00
Shawn Lin
17267e883a Merge "Don't create unexpected display cutout or rounded corners" into tm-dev 2022-05-06 07:50:01 +00:00
Alex Buynytskyy
a5acb6900f Temp skip /product folder during root-hash calculation.
Unfortunately we can't change selinux rules atm.

Bug: 231354111
Test: presubmit
Change-Id: I66c4605dac504853ac46d5a155ca8bd784ca6161
2022-05-06 04:51:53 +00:00
TreeHugger Robot
0a6445f43b Merge "Attempt to fix LaunchAppShowImeOnStartTest" into tm-dev 2022-05-06 03:49:19 +00:00
Andy Hung
c3f288773f SpatializerHelper: Fix addCompatibleAudioDevice, removeCompatibleAudioDevice
Erroneous if check caused false device matches.

Test: enable/disable spatial audio wired headset in the settings
Bug: 231499448
Bug: 231658188
Change-Id: I0af5db0df72c3ea964e5e6b7fe85b3a7fc9f0959
2022-05-05 20:39:02 -07:00
TreeHugger Robot
bd5592e65b Merge "Updating TrustManagerService to react to keyguard visible changes." into tm-dev 2022-05-06 03:28:43 +00:00
Arthur Hung
7d870f9ec2 Fix back gesture send to wrong focus window
Ensure we could get the proper focused window token what it's during
updating the focus if user touched down on another non-focused window.

It also called `startBackNavigation` when received first move that next
to down event to ensure the `WMS.onPointerDownOutsideFocus` could be
processed first.

Test: atest BackAnimationControllerTest BackNavigationControllerTests
Test: enabled split-screen, trigger back gesture on non-focused window
Bug: 230442550
Bug: 227724016
Change-Id: I81c4f02d43299c03f94dc295bb23ba80d46bded8
Merged-In: I81c4f02d43299c03f94dc295bb23ba80d46bded8
2022-05-06 03:11:40 +00:00
Vincent Wang
021ef9a6f8 Merge "DO NOT MERGE: Fix Budget bakers wallet app's fingerprint icon doesn't line up with sensor" into tm-dev 2022-05-06 03:09:46 +00:00
Dave Mankoff
bd9fe6ce24 Merge "Remove Dependency#get calls from NavigationBarView" into tm-dev 2022-05-06 02:46:22 +00:00
Jackal Guo
dbd5719b68 Merge "Fix dumping empty queriesPackages" into tm-dev 2022-05-06 02:02:22 +00:00
TreeHugger Robot
d2c53f65f6 Merge "Rollback dropdown or inline suggestions when cancel fill dialog" into tm-dev 2022-05-06 01:54:44 +00:00
Ling Ma
4ef05d5026 Add dataFailCause existence check
Fix: 231530653
Test: manual
Change-Id: I7409e40a7b5c1468112938f663c37508a4f3b1f0
2022-05-05 18:39:36 -07:00
Jerry Chang
a5619e3ff3 Merge "Consider adjacent launch target when recycling an existing task" into tm-dev 2022-05-06 01:25:12 +00:00