Commit Graph

758417 Commits

Author SHA1 Message Date
Shashwat Razdan
84625f4ebf Setting the idle bind timeout to 10 minutes.
Bug: 229865962
Test: Config change

Change-Id: I0014df37ebb26b20ad4fad04de0c9edd0a580bbc
2022-04-20 17:34:15 +00:00
Makoto Onuki
925965ec28 Merge "Update OWNERS for the content and sync subsystem" am: f3265025d8 am: b5ca3914fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051441

Change-Id: Ib71908544b5fc90f238152f2e33bcdcd802723bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 17:31:37 +00:00
Derek Jedral
a4a4f42b3a Merge "[Trust] Add test target for tablets." into tm-dev 2022-04-20 17:10:06 +00:00
Shawn Lin
88ed5ca17a Merge "Support scaled cutout & roundedcorners when resolution is overridden" into tm-dev 2022-04-20 16:56:28 +00:00
Makoto Onuki
b5ca3914fe Merge "Update OWNERS for the content and sync subsystem" am: f3265025d8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2051441

Change-Id: Iea0c1d40359565041c6ae4f54083ebda0ef6532e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:54:14 +00:00
Makoto Onuki
f3265025d8 Merge "Update OWNERS for the content and sync subsystem" 2022-04-20 16:27:47 +00:00
chaviw
7000ff8696 Use correct timeout when gating sync transaction
The current timeout is 64ms, but was meant to be 5000ms

Test: Builds
Bug: 227533765
Bug: 224438403
Change-Id: I24f1206e325eacc3a30f3bb1833d5c39cd9a099b
2022-04-20 11:23:30 -05:00
Lucas Silva
b6918681db Merge "Cleanup dream preview complication." into tm-dev 2022-04-20 16:17:50 +00:00
Hans Boehm
8e54279331 Merge "Don't MAP_POPULATE native ZygoteCommandBuffer" am: 265cc77219 am: 74ddb63a2a am: 859840da83
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2067673

Change-Id: Iac7a5bf89b40ca6f7f923f93949350e747a59cbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:01:44 +00:00
Lucas Dupin
c8d87910a1 Merge "bootanimation: correct logo position and size after resolution changed" into tm-dev 2022-04-20 16:01:00 +00:00
Jiyong Park
07be4bfbec Merge "Freeze AIDL APIs for TM" into tm-dev 2022-04-20 15:55:20 +00:00
Felipe Leme
2542074fd7 Changes UserSystemPackageInstaller log TAG to use its own class name.
This class issues a lot of "PKG is allowlisted but not present" logs
on boot, which makes it harder to watch other log messages on
UserManagerService.

Test: adb logcat UserManagerService *:s
Bug: 226643927

Change-Id: I8dbd32fd06b133b7e7136d11133a2fac121d1b9b
2022-04-20 08:47:11 -07:00
Hans Boehm
859840da83 Merge "Don't MAP_POPULATE native ZygoteCommandBuffer" am: 265cc77219 am: 74ddb63a2a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2067673

Change-Id: Ifd921f17e58efbd0a32f4ad290d98722b245ba35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 15:44:27 +00:00
Hans Boehm
74ddb63a2a Merge "Don't MAP_POPULATE native ZygoteCommandBuffer" am: 265cc77219
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2067673

Change-Id: I743827559c1e7206a0b66e6617a57e72602ca228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 15:16:51 +00:00
SongFerngWang
6197f495a9 [LE_Broadcast]Start broadcast and stop broadcast
- Add start broadcast UI and stop broadcast UI
- Add broadcast start process
- Add broadcast stop process

Bug: 227511707
Test: build pass and manaual test.
atest MediaOutputBaseDialogTest  (PASS)
atest MediaOutputDialogTest  (PASS)

Change-Id: Idd26d2b4e10dfcd00045184ddd2f9815a02ec7ce
2022-04-20 23:13:58 +08:00
Hans Boehm
265cc77219 Merge "Don't MAP_POPULATE native ZygoteCommandBuffer" 2022-04-20 14:58:49 +00:00
Evan Laird
9406ddaa7e Merge "Fix double counting of margins in keygaurd status bar view" into tm-dev 2022-04-20 14:47:22 +00:00
Vinit Nayak
17cea8407a Merge "Revert "Remove Dep.get(CommandQueue.class) from NavBarView"" into tm-dev 2022-04-20 14:30:41 +00:00
Beth Thibodeau
db41a61d63 Merge "Add debug logging for media view events" into tm-dev 2022-04-20 14:23:40 +00:00
Anthony Stange
21363f2e74 Merge "Synchronize access to mCallbacksList" into tm-dev 2022-04-20 14:20:02 +00:00
Caitlin Cassidy
94d8a42399 Merge "[Media] Ensure that we update the seekbar visibility whenever its enabled status changes." into tm-dev 2022-04-20 14:01:08 +00:00
Caitlin Cassidy
7b94275391 Merge "[Media] Update paging indicator to be light gray." into tm-dev 2022-04-20 14:00:06 +00:00
Santos Cordon
2e83c5af11 Merge "Add brightness event logging." into tm-dev 2022-04-20 13:58:13 +00:00
Jimmy Shiu
49c95b1618 Merge "Send the hint immediately when actual > target" into tm-dev 2022-04-20 13:47:22 +00:00
Chris Li
701b3f759c Merge "Fix crash in getParentContainerBounds" into tm-dev 2022-04-20 13:04:17 +00:00
Nikita Ioffe
e20cef5908 Don't create external storage dirs for apps with PROPERTY_NO_APP_DATA_STORAGE
Bug: 228424287
Test: atest android.appsecurity.cts.StorageHostTest
Change-Id: I5baa1faf0284016edb40529615bb3eb4f9bff3f4
2022-04-20 12:47:39 +01:00
Grzegorz Kołodziejczyk
7c1bf84c37 le_audio: Extend handling of Broadcaster as active device
Patch extends handling Broadcaster as active Bluetooth device.
Broadcast device.

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Change-Id: Ic41c619411f1784bf586aa48ad0fa4a39a37ecb7
2022-04-20 11:34:54 +00:00
Grzegorz Kołodziejczyk
59afd5ccf7 AudioDeviceBroker: Extend createBtDeviceInfo with LE_AUDIO_BROADCAST
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: build

Change-Id: I389ce1fb8f6a763e991a00f3bebfac0648086722
2022-04-20 11:30:54 +00:00
Nataniel Borges
eca6ae398d Merge "Disable failing visible consecutive layers assertion" into tm-dev 2022-04-20 11:18:24 +00:00
Ricky Wai
24797ecd7b Add OEM config for enhanced confirmation mode and add restricted read ops
OEM can set the config in config.xml to enable / disable enhanced
confirmation mode.
And now we only allow apps with manage appops permission to read
ACCESS_RESTRICTED_SETTINGS op, so bad apps cannot know if the app is
in restricted setting mode

Bug: 217711280
Bug: 217709978
Test: atest AppOpsTest#testRestrictedSettingsOpsRead
Test: With OEM config on, accessibility page for unknown source app is
disabled by default.
Test: With OEM config off, accessibility page for unknown source app is
not disabled.
Change-Id: I6da408306ae43972b7af81c0a3c91bf95e9d6993

Change-Id: I9b79c2edb1341246e75c0d495e3158d370cd7d22
2022-04-20 10:48:48 +00:00
Charles Chen
edf1b37a08 Fix testRegisterComponentCallbacksOnWindowContext flaky
This flakiness is due to race of config updates when WindowContext attaches to
DisplyArea.
This CL fixed it by:
1. Don't dispatch config updates to the client side when registering to
   DA. We have reported the value by the return value of
   #attachWindowContextToDisplayArea.
2. Use Handler#runWithScissors when attahing DA or DC. It can prevent
   WindowContext reports stale config values and also guarantee the order of
   onConfigurationChanged call.

Bug: 190019118
fixes: 228911504
Test: atest RegisterComponentCallbacksTest --iterations
Test: atest WindowContextTest WindowContextTests
Test: atest WindowMetricsWindowContextTests

Change-Id: I496d00bbfdc20b9bbf433d5d8ec65bf1f46d3dd3
2022-04-20 17:41:20 +08:00
Vincent Wang
08c570a876 Merge "Fix BiometricPrompt can scroll / overflow on long text" into tm-dev 2022-04-20 09:36:52 +00:00
Chilun Huang
dc7c91de99 Merge "Use the icon size of starting surface for split decor" into tm-dev 2022-04-20 08:44:33 +00:00
Jerry Chang
1a14fc4a5e Add jank instrument support for split screen enter and exit transition
Bug: 203439850
Test: build passed
Test: verified with systrace dump
Change-Id: I9c4464126af2d7631f49d0b001307782d4c01787
2022-04-20 16:36:53 +08:00
Weng Su
b1eb715bca Merge "Cache Wi-Fi state in worker thread" into tm-dev 2022-04-20 08:05:59 +00:00
Chris Li
e382326e3d Fix crash in getParentContainerBounds
Before, before TaskFragment appeared, the getTopNonFinishingActivity may
be null, and throw exception for no bounds found.
Now, make sure we always have Task bounds stored.

Bug: 228885031
Test: atest WMJetpackUnitTests:SplitControllerTest
Test: atest WMJetpackUnitTests:TaskContainerTest
Change-Id: I3744813a85f24941563c8ff8f284b2e45396f906
2022-04-20 15:45:09 +08:00
TreeHugger Robot
82e82e1479 Merge "Correct Typo on Provision Refactor per API review" into tm-dev 2022-04-20 07:38:36 +00:00
joenchen
85b339fb24 bootanimation: correct logo position and size after resolution changed
The resolution may be changed while the boot animation is playing.
mInitWidth and mInitHeight store the original resolution, and then the
animation coordinate and size are recalculated according to the ratio
(mWidth/mInitWidth and mHeight/mInitHeight).

Bug: 228605923
Test: change resolution and then reboot to check the animation
Change-Id: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f
(cherry picked from commit 764ea04421)
Merged-In: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f
2022-04-20 07:05:15 +00:00
TreeHugger Robot
af84398fed Merge "Disable flaky app launch flicker tests" into tm-dev 2022-04-20 07:04:58 +00:00
Hongwei Wang
dd51f86fd4 Implement PiP custom close action on phone
To use this new custom close action on Phone
- We expect app providing actions via
  PictureInPictureParams.Builder#setActions as they normally do
- We also expect app providing a custom close action via
  PictureInPictureParams.Builder#setCloseAction
- The custom close action is used on Phone only if it matches one of the
  actions listed in setActions (by comparing the PendingIntent)

SysUI will render the custom close action with a highlighted background
and ensures the PiP dismisses after certain timeout if the app fails to
respond in time.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fR0hxeorlYrxXyzfZ02btK
Bug: 223896879
Test: see video
Change-Id: I65c585ae3224061311e476753bc4c72f00c4fa33
2022-04-19 23:55:06 -07:00
Nikolas Havrikov
e6c9014ad3 Merge "Bind IME and retry creating inline suggestions" into tm-dev 2022-04-20 06:48:35 +00:00
Nataniel Borges
c1655ef37d Merge "Don't assert bars location when display is off" into tm-dev 2022-04-20 06:28:13 +00:00
Nataniel Borges
56d66c7dd3 Merge "Wait IME visible after launch" into tm-dev 2022-04-20 06:28:08 +00:00
Menghan Li
fc5c5e9a3f Merge "Check target is empty before showing it in AccessibilityFloatingMenu" into tm-dev 2022-04-20 06:15:01 +00:00
Menghan Li
f24ce1cacd Merge "Fix Accessibility Shortcut does not show up while SystemUI restart" into tm-dev 2022-04-20 06:15:01 +00:00
Junyu Lai
7fa2bca312 Merge "Fix NetworkTemplate generates non-metered carrier template" am: 70c3d35319 am: 5301fd1488 am: 1361b459c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2065438

Change-Id: Ieabb4c07554b129308bdbeddf92376193df36870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:08:15 +00:00
TreeHugger Robot
f73f3203c2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 5d67417470 -s ours am: 341944d175 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17785620

Change-Id: Id37b70a8dfba6f69292bc48fbb85832223d1fbd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:07:52 +00:00
Bill Yi
29983f3371 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1394bf4c8e -s ours am: c3e888a7eb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17785620

Change-Id: I55e949280912eebc49481b8fd2f947d5e5864533
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:07:27 +00:00
Jing Ji
d448360623 Merge "[BugFix] acquireProvider maybe wait for timeout" am: bf7ab279a6 am: 2ee9e5dbb7 am: 25fb447edc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1999690

Change-Id: I48bc9e68457689f60d7825e015df47805398bb56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:06:57 +00:00
Jing Ji
5fe325e16a Merge "[AMS] Fix race condition in ProcessList." am: a5ef7d7741 am: 7e4801abfb am: e2fe15e9b8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1956043

Change-Id: I965e45987288d6fa900ee9da419268170c956bee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:05:38 +00:00