Commit Graph

640958 Commits

Author SHA1 Message Date
Joshua Mccloskey
6e729ee310 Merge "Added features to FaceEnrollClient" into sc-dev 2021-04-30 20:00:57 +00:00
Jordan Liu
029392438f Update documentation of setUiccApplicationsEnabled
Bug: 159667154
Test: no behavior change
Change-Id: If02b734ef920492790f3c9446f9db346c5dac824
2021-04-30 19:49:43 +00:00
Brad Ebinger
0c5b322274 Merge "Add the ability to get Accept-Contact header params" am: 71a05ba2b4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690090

Change-Id: I6330c13f79f4840f02cdc128d92fb697e06db23d
2021-04-30 19:32:07 +00:00
Yohei Yukawa
4baf2915d8 Make IInputMethodManager#reportActivityViewAsync() truly async
It turns out that IInputMethodManager#reportActivityView() [1], which
was added a few years ago to support CursorAnchorInfo API on edit
fields hosted on an ActivityView [1], is now also used by task
organizer [2].  This means that we would continue living with this
@hide API for a while even after ActivityView gets completely removed
at Bug 179161778.  Then, converting this IPC into truly asynchronous
would probably make sense.

There should be no behavior change unless the target IME client is
running on an embedded display environment.

 [1]: Id0411a80456182111bb5b681c6d1230b58e7ec2e
      b4f328a2f3
 [2]: Id422bb2547197c617f914ed7cf5085e02a1c3fb5
      a1f869d10e

Fix: 186874025
Test: atest CtsWindowManagerDeviceTestCases:ActivityViewTest
Change-Id: I0463e8e9daaa8ab6d3eadb395843ca5e6bc1bb5e
2021-04-30 12:29:39 -07:00
Songchun Fan
f949c37e14 [IncrementalService] use sysfs_name in mount options and dumpsys
BUG: 184844615
Test: adb shell dumpsys incremental
Change-Id: Ib6bbbede6d4fbed0bcef8d37f377e706b9d1af28
2021-04-30 12:19:58 -07:00
Brad Ebinger
71a05ba2b4 Merge "Add the ability to get Accept-Contact header params" 2021-04-30 19:12:11 +00:00
Josh Tsuji
261120400f Call StatusBar#finishKeyguardFadingAway after the fling animation.
This isn't currently isn't being called with the new keyguard unlock animation if bypassing the keyguard due to biometric unlock. This results in ScrimController#expansionAffectsAlpha remaining false after an unlock, which in turn results in a transparent shade scrim even when unlocked+expanded.

Filed b/186873982 to track a permanent fix (for a safer fix-forward, I am checking if the new unlock animation is running before calling #finishKeyguardFadingAway, but that's likely not necessary).

Bug: 186760125
Test: manual
Change-Id: I79a70034a02af45d69dc0e80554141c65f6b5ed8
2021-04-30 15:09:44 -04:00
Julia Reynolds
7503b32df3 Update the conversation priority flow
Update the long press text and remove the separate onboarding
screen

Test: atest NotificationConversationInfoTest
Fixes: 186100981
Change-Id: I8a90e99a4eaebf1e5136771856303e830a234d0a
2021-04-30 15:02:49 -04:00
Matt Pietal
2c389bf6ef Merge "Controls - Setup" into sc-dev 2021-04-30 18:55:06 +00:00
Chavi Weingarten
81aec8ebda Merge "Restore old behavior in pulic API setGeometry" into sc-dev 2021-04-30 18:47:48 +00:00
Fabian Kozynski
8c476ed761 Fix pageMargin in PagedTileLayout
Page margin was being set again from inside PagedTileLayout. Only set at
QSContainerImpl level, based on margins.

As the controller calls updateResources on view attached, they will get
set correctly as soon as the view is attached.

Test: manual
Fixes: 186863859
Change-Id: I8a9f22cc35899ba081bd94c48b3647fc7ae89829
2021-04-30 14:46:10 -04:00
Daniel Sandler
0da6421996 Merge "Switch assistant to HEAVY_CLICK effect on devices without haptic composition." into sc-dev 2021-04-30 18:26:26 +00:00
Kurt Dresner
4762ddab23 Merge "Update UiModeManagerServiceTest to use new value of PROJECTION_TYPE_ALL." into sc-dev 2021-04-30 18:23:24 +00:00
Kurt Dresner
3a4ecbf88f Merge "Make PROJECTION_TYPE_ALL=-1 so that all bits are on." into sc-dev 2021-04-30 18:23:24 +00:00
Nikita Dubrovsky
5177dab6e1 Merge "Improve javadoc for OnReceiveContentListener.onReceiveContent" into sc-dev 2021-04-30 18:22:34 +00:00
Lyn Han
2c4f9ddaf9 Merge "New shelf shape, notification corner animations on scroll" into sc-dev 2021-04-30 18:20:50 +00:00
Nikita Dubrovsky
ac3b7aafc9 Improve javadoc for OnReceiveContentListener.onReceiveContent
Bug: 186693629
Test: Presubmit only
Change-Id: I153a375b9e97e1c28cbe683b907adae0e813d9af
2021-04-30 11:14:54 -07:00
Brad Ebinger
e0f6dc071f [automerger skipped] Merge "Bound Telecom logging recursion" am: 63dc1d5081 am: eb77c749aa am: c87158d0b0 -s ours
am skip reason: Merged-In I52f44dd02d0d860d0894e9b84fded8cf5ff5a18e with SHA-1 bde5c37520 is already in history

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

Change-Id: Iee4b72839dbff9d096d317340b354a68b69dc315
2021-04-30 18:11:29 +00:00
Nikita Dubrovsky
9b9b00ff46 Update ContentInfo to implement Parcelable
Bug: 186683314
Test: atest CtsViewReceiveContentTestCases:ContentInfoTest
Change-Id: I59376947cfa8dad5d2021cb1d2f5c121a1f90596
2021-04-30 11:09:04 -07:00
chaviw
465ae43483 Fix ScreenRotation flicker from 90 to 270.
When porting over ScreenRotation to use BufferStateLayer, rotating from
90 to 270 broke. This is because the old code was trying to screenshot
and rotate based off 0 rotation instead of off the current rotation.

Cleaned up the code so it now takes the screenshot in the current
orientation and creates a rotation matrix based on the current
rotation

Test: Screen rotation
Fixes: 186352065
Change-Id: I0d1268a849959fbb3d2b3158e099b595d00f273b
2021-04-30 13:07:36 -05:00
Abel Tesfaye
6a1468d7f0 Disallow attention check when power save mode is enabled
Test: locally by enabling power save mode and screen attention then checking attention is disabled

Bug: 186690152
Change-Id: Ib56ca385461857040042c9f041c1b3da69b6f347
2021-04-30 18:06:32 +00:00
Dave Mankoff
4e30df7dee Mkae SysUIPlugins its own gradle target.
Breaks the dependency of SystemUIPlugins on ThresholdSensor
by introducing an intermediate interface.

Fixes: 186781915
Test: manual
Change-Id: Ib2633f8f2acaa1d21f1e8968317b4a4e63d3af32
2021-04-30 14:04:12 -04:00
Jerry Chang
ead969a489 Make sure tasks below home task is invisible while in split
While in split mode, home task will be reparented to the secondary split
and leaving tasks not supporting split below. Because TaskDisplayArea
always adjusts home surface layer to the bottom, this makes sure those
tasks below home is invisible and won't occlude home task unexpectedly.

Fix: 185872271
Fix: 159767867
Test: dock translucent task to split primary while having task not
supporting split in recent, recent app won't be occluded.

Change-Id: Ie110ea302a0ec646b6c39f68606b31cd4c26697e
2021-05-01 02:03:59 +08:00
Winson
a83c8635e8 Strip invalid domains in DVS#addPackage
If a package is ever updated as part of an OTA, it have may removed
domains that were included in the original set, and so that state
should be evicted when it's re-attached.

Bug: 184562304

Test: atest DomainVerificationPackageTest

Change-Id: Ie90dc390afa89b0c26f73de64b1e513c6fa272a3
2021-04-30 10:54:40 -07:00
Brad Ebinger
c87158d0b0 Merge "Bound Telecom logging recursion" am: 63dc1d5081 am: eb77c749aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691210

Change-Id: Ic2986e3767f3c6e24aa695a99f95d5b812400751
2021-04-30 17:53:25 +00:00
TreeHugger Robot
bdb2eff6a2 Merge "Fix getComponentName for DomainVerificationProxy" into sc-dev 2021-04-30 17:49:25 +00:00
Kohsuke Yatoh
0c8a463902 Merge "Use AtomicFile in UpdatableFontDir." into sc-dev 2021-04-30 17:47:19 +00:00
Winson
a74c1f3c69 Move withPackageSettingsSnapshot methods into PackageManagerInternal
For consumers who don't care about blocking package data updates and
only need data at a specific snapshot in time, these methods would
avoid locking PMS during the iteration process.

Bug: 183643808

Test: atest com.android.server.pm.test.verify.domain

Change-Id: Ia951381798d75f77c4ad5fc010a469b69992f074
2021-04-30 10:46:32 -07:00
Tyler Gunn
a5ee1ca4e0 Clarify API docs for setShouldScreenCallViaAudioProcessing.
Make it clear that this is only visible to the system dialer.

Test: Build docs
Fixes: 186671257
Change-Id: Ia4633d010ab7d48a7bae0afe3bd32bc9f16447d4
2021-04-30 10:41:54 -07:00
Fabian Kozynski
efb81fd199 Merge "Use themed context to inflate user switcher items" into sc-dev 2021-04-30 17:38:22 +00:00
Flavio Fiszman
7f5d243afb Merge "Decorating People Tile background" into sc-dev 2021-04-30 17:36:05 +00:00
Brad Ebinger
eb77c749aa Merge "Bound Telecom logging recursion" am: 63dc1d5081
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691210

Change-Id: Idd018303d9dfb818c5be3621c38a723d680b0240
2021-04-30 17:32:14 +00:00
Todd Kennedy
4c1ce235ed Merge "Add OWNERS for new files" into sc-dev 2021-04-30 17:32:00 +00:00
Todd Kennedy
1297470b47 Add OWNERS for new files
Bug: 186864416
Fixes: 186864416
Change-Id: I4e8521056f6a1468d1ba15d52270990dbf50437a
2021-04-30 17:31:43 +00:00
Jerry Chang
57b13e327f Make sure to reorder side stage above main stage to prevent flicker
Always reorder side stage to the top whenever there's a child task
appeared in side stage. This is needed to prevent main stage occludes
newly launched task in side stage and causing itself flipping between
fullscreen and multi-window windowing mode.

Fix: 186614428
Bug: 169271875
Test: enter staged split by launching task with adjacent flag, screen
won't flicker

Change-Id: I9176a97439d687bbc7b0bf2dd9ddfdaecacfa455
2021-05-01 01:26:24 +08:00
Oli Lan
b74c7adf8e Merge "Call OnPrimaryClipChanged when classification status changes." into sc-dev 2021-04-30 17:20:04 +00:00
Brad Ebinger
63dc1d5081 Merge "Bound Telecom logging recursion" 2021-04-30 17:01:11 +00:00
Fabian Kozynski
73f1a3e2d3 Show privacy chip in QQS
Test: manual
Fixes: 186791035
Change-Id: I5fffe4481a64db0a021500506634bb374587daa9
2021-04-30 12:52:45 -04:00
Orion Hodson
67d3b195a0 Move to renamed NDK symbol AFileDescriptor_getFd
Bug: 185256332
Test: TH
Change-Id: Ic13f1d9832d5ae5b6ae4b96323025d9b695fdaf9
2021-04-30 17:48:03 +01:00
TreeHugger Robot
1236262d2d Merge "Add JavaDoc for android:suppressesSpellChecker." into sc-dev 2021-04-30 16:43:07 +00:00
Collin Fijalkovich
124c7e37e4 Revert "Enable remote animation for keygaurd going away."
This reverts commit d0ba2859dd.

Reason for revert: Checking for cause of test breakage

Change-Id: I32f434f2e0c9b7d20bcd0ba51c0b770df8dfa575
2021-04-30 16:33:02 +00:00
Sean Stout
8d3b16568a Merge "Fix "Screen on" time reporting" into sc-dev 2021-04-30 16:18:28 +00:00
Winson Chiu
1b8610d9a9 Merge "Implement domain verification backup and restore" into sc-dev 2021-04-30 16:17:30 +00:00
Siim Sammul
d7af8599aa Add sharding to Binder Latency collection and make it configurable. The
hash code of the binder class will be used to select which apis will be
collected for based on the configured modulo.

Test: unit tests
Bug: 180584913
Change-Id: I7544135a77cf510fa9e542d98262a7211760935c
2021-04-30 17:14:20 +01:00
Kweku Adams
9c3d74f7e0 Merge "Expand JS documentation." into sc-dev 2021-04-30 16:10:42 +00:00
Mady Mellor
23f3d34103 Merge "Restrict the width of bubble expanded view on large screens" into sc-dev 2021-04-30 16:07:54 +00:00
Tyler Gunn
a6502cc4d6 Merge "Remove deprecated at birth DiagnosticCall class." into sc-dev 2021-04-30 15:54:09 +00:00
Jorge Gil
83c75ac733 Merge "Synchronize PIP menu fade out with task dismiss" into sc-dev 2021-04-30 15:53:32 +00:00
Dan Sandler
dca4ad7e0f Switch assistant to HEAVY_CLICK effect on devices without haptic composition.
EFFECT_DOUBLE_CLICK is used for REJECT situations so it
feels like a mistake. EFFECT_HEAVY_CLICK was used for
EDGE_SQUEEZE previously so it's a better choice anyway.

Bug: 182381083
Fixes: 186767913
Test: long-press power
Change-Id: Iea474367a3f09a842b644cff7e2e2f05d6ddac49
2021-04-30 11:20:46 -04:00
Edward Cunningham
104fc39a31 Delete staged APK whenever DeleteStagedFileOnResult finishes.
The DeleteStagedFileOnResult activity commonly doesn't receive a result,
because the user either immediately opens the newly installed app or
navigates away. When the task containing this activity is either trimmed
by the system or explicitly removed by the user, the activity will be
finished. We can take this opportunity to delete the staged APK.

There is still no guarantee that the staged APK will be deleted; for
example, this activity may already have been destroyed (temporarily) in
low memory situations while the user was completing the install.

Bug: 183940755
Test: Manual, observing when staged APKs are deleted via adb shell ls.
Change-Id: Iaabecffe8131333b2eefee1edec8b4641868b2e7
2021-04-30 14:48:24 +00:00