Commit Graph

643460 Commits

Author SHA1 Message Date
Nate Myren
552aa465bf Merge "Support AttributionSource chains in PermissionUsageHelper" into sc-dev 2021-06-09 03:34:57 +00:00
Jeff DeCew
6c9c6cb626 Merge "Fix lockscreen notification + media counting." into sc-dev 2021-06-09 02:43:26 +00:00
TreeHugger Robot
08a0b629cb Merge "Prevent usage of freed memory by using getLights and getSensors" into sc-dev 2021-06-09 02:40:20 +00:00
Jeff DeCew
afa8c993cd Merge "Add slow fade-in to notification shelf icon to prevent overlapping icons in the shelf." into sc-dev 2021-06-09 02:38:51 +00:00
Hongwei Wang
628002c70c Merge "Polish round corner for auto-enter-pip" into sc-dev 2021-06-09 01:41:10 +00:00
Shawn Lin
ecb653c2bb Merge "Add a method in RecentsAnimationController to animate the nav bar" into sc-dev 2021-06-09 01:39:49 +00:00
Shawn Lin
433c1d8a10 Merge "Add a method to trigger the navigation bar animation in system" into sc-dev 2021-06-09 01:39:49 +00:00
Kunhung Li
7a474b19f4 Merge "Keep attributes when wallpaper changes" into sc-dev 2021-06-09 01:38:10 +00:00
Ryan Lin
81cd3a475c Merge "Fix hard dragging from the edge of the screen" into sc-dev 2021-06-09 01:04:32 +00:00
Joe Bolinger
5a456fffa3 Merge "Fallback to fingerprint on all error types." into sc-dev 2021-06-09 00:20:47 +00:00
Meng Wang
0c1b382ace Merge "Allow ImsServiceEntitlement app to schedule jobs" into sc-dev 2021-06-08 23:50:09 +00:00
Soonil Nagarkar
e71b4d16cc Merge "Revert implict min update interval to 1/6 of interval" into sc-dev 2021-06-08 22:40:10 +00:00
TreeHugger Robot
9e8cf0014e Merge "Include INTERACT_ACROSS_USERS_FULL for WmShell." into sc-dev 2021-06-08 22:29:59 +00:00
Jing Ji
57532ac939 Merge "Log content provider authority name in traces" into sc-dev 2021-06-08 22:24:04 +00:00
Matt Pietal
08ba30a50e Merge "Smartspace in wrong position" into sc-dev 2021-06-08 22:14:26 +00:00
Greg Daniel
5da361b85c Merge "Reset buffer tracking state in VulkanSurface." into sc-dev 2021-06-08 21:58:19 +00:00
TreeHugger Robot
50638c6a55 Merge "Ensure that SOFT_DENIED doesn't result in a call to finishOp" into sc-dev 2021-06-08 21:54:06 +00:00
Julia Reynolds
a4402f4d44 Merge "Update background colors for convo tiles" into sc-dev 2021-06-08 21:49:40 +00:00
Mady Mellor
91ffe29918 Merge changes I6129aff7,I7e21ee87 into sc-dev
* changes:
  Fix dot & badge being on correct side for the first bubble added
  Fix the dot not showing when it should
2021-06-08 21:16:42 +00:00
Raymond Chiu
a607768e98 Merge "Add feature to capture layer" into sc-dev 2021-06-08 21:10:23 +00:00
TreeHugger Robot
76b68a37f0 Merge "Added service temporarily unavailable support" into sc-dev 2021-06-08 20:59:11 +00:00
Jeff DeCew
042fb82560 Fix lockscreen notification + media counting.
Background: A regression was introduced when something about the MediaHeaderView's visibility was changed, which caused that view to be counted when showing notifications but not when counting how many should be shown.  That regression caused b/188000471 which was fixed by ag/I93b4b6039eb812619787744f893fe1924e1afc4d.  However, that fix only addressed half the problem, as it resulted in the media player always being shown, regardless of the hard-coded notification max.

This change brings the logic of these two methods in line with each other, so that the number of notifications shown *includes* the media player, but ensures that a zero-heignt media player is not treated as a notification (similar to how any GONE views are ignored).

Fixes: 189102584
Test: manual
Change-Id: Ic7447941593f08ed504f3870af5a72d2628a043e
2021-06-08 16:52:32 -04:00
TreeHugger Robot
825d39e0f1 Merge "Fixing the race condition in GenerateRkpKey" into sc-dev 2021-06-08 20:28:28 +00:00
Max Bires
d05498b9d8 Fixing the race condition in GenerateRkpKey
This file was written on the assumption that bindService was
synchronous, which it isn't. This change adds a CountDownLatch to force
the class to wait for the binding to finish.

Bug: 190222116
Test: atest RemoteProvisionerUnitTests
Change-Id: I917a61da612f21f9a0f783bea5d24270d4e1db42
2021-06-08 20:28:06 +00:00
Yuncheol Heo
907c7e820a Include INTERACT_ACROSS_USERS_FULL for WmShell.
- SplashscreenContentDrawer.ColorCache needs INTERACT_ACROSS_USERS_FULL
  to register the broadcast receiver.

Bug: 190516351
Test: Build Andorid Auto OS and check if CarLauncher is showing.
Change-Id: Ib0700a0f2ba1c31ffc60199a3aa8019961464efe
2021-06-08 13:18:28 -07:00
TreeHugger Robot
12b7df48e7 Merge "Remove flags for wallet and alarm" into sc-dev 2021-06-08 20:14:29 +00:00
Hongwei Wang
6422ad45c9 Polish round corner for auto-enter-pip
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/b47ErxSscLnZl9clVncSY6
Bug: 187834841
Test: manual, see video
Change-Id: I59132ea50a3213a9caa2366c103fdddf642498e2
2021-06-08 13:13:39 -07:00
Siarhei Vishniakou
256f3c1507 Prevent usage of freed memory by using getLights and getSensors
Instead of separately querying light ids and light infos, just provide a
list of light infos. They already contain the light ids.

This way, we also avoid leaving uninitialized array elements when the
lookup fails.

In the InputReader code, a lock is obtained when the light information
is being read, but that memory could change right after the call
completes.

Bug: 190126442
Test: atest inputflinger_tests libinput_tests
Change-Id: I16ef37dce96d7077a8634d565b573fc26f1ebb5d
2021-06-08 20:08:35 +00:00
Nate Myren
9099a0611c Ensure that SOFT_DENIED doesn't result in a call to finishOp
Bug: 190385491
Test: atest SensorPrivacyMicrophoneTest
Change-Id: Ib739d9fe0d9aae46199f6e7f3c2f4e0f51396b51
2021-06-08 12:34:21 -07:00
TreeHugger Robot
5ba9720dbf Merge "Remove owner and logout views from KeyguardStatusView" into sc-dev 2021-06-08 19:27:20 +00:00
Jeff DeCew
65e826dbc2 Add slow fade-in to notification shelf icon to prevent overlapping icons in the shelf.
Fixes: 188030100
Test: manual testing
Change-Id: I54382c5bd6bb1953205af6aad399f199cb2fc7dd
2021-06-08 15:04:22 -04:00
Matt Casey
b0fe4cad4b Merge "Add device default values for long press power and touch gesture" into sc-dev 2021-06-08 19:02:06 +00:00
Raymond Chiu
e4cde9c8f2 Add feature to capture layer
Bug: 181831061
Test: manual
Change-Id: I16d6ac29833fc8f313b105f6215505cef05a3368
2021-06-08 18:48:25 +00:00
Joe Bolinger
f45b0ff010 Fallback to fingerprint on all error types.
Ensure sensors are cancelled when ending an AuthSession to prevent stale operations from blocking new sessions.

Fix: 190213740
Test: atest com.android.systemui.biometrics com.android.server.biometrics
Change-Id: I53687b069ef130ae4f4b6e8d64f3431a4485c5af
2021-06-08 11:39:12 -07:00
Greg Daniel
ffc50c689f Reset buffer tracking state in VulkanSurface.
When we fail to create an SkSurface from a dequeued
buffer we then call cancelBuffer on that buffer. However,
we don't update our tracking to say the buffer is no
longer dequeued with and doesn't own the fence any more.

I don't think this is the main issue causing the crash in
the attached bug because I don't think we're seeing the
error in the logs for this chunk of code. However this
possibly related issue was found while tracking down our
use of the dequeue_fence fd.

Test: manual building and running of phone
Bug: 187240173

Change-Id: Icb4099eeea5be6aedd5376e07a6e3454f5d1d1e3
2021-06-08 14:30:24 -04:00
Ying Xu
9a7763499c Merge "Lazy fetch the default Carrier Config" into sc-dev 2021-06-08 18:27:30 +00:00
Tom Natan
5977f60c19 Merge "Rename PlatformCompat#setOverridesOnReleaseBuilds to putOverridesOnReleaseBuilds." into sc-dev 2021-06-08 18:23:42 +00:00
TreeHugger Robot
f59889a08f Merge "Preventing component spoofing during getShortcutIntent" into sc-dev 2021-06-08 18:21:21 +00:00
Matt Pietal
1c90e728c9 Smartspace in wrong position
KeyguardClockSwitch will be recreated by
NotificationPanelViewController for a variety of reasons, including
onDensityOrFontScaleChanged(). When this happens, the large/small
clock state can get out of sync with the initial state. Set the clock
state to null on creation to avoid this.

Fixes: 188390632
Test: manual, it's a race condition that can be hard to trigger
Change-Id: I49cda9afd5c708b05aba56a40d29c1cefe847de4
2021-06-08 14:19:01 -04:00
Jing Ji
b8ecbae648 Log content provider authority name in traces
It'll help to debug content provider related performance issues.

Bug: 190416935
Test: Manual - Record perfetto trace & verify auth name is logged.
Test: CtsContentTestCases:android.content.cts
Test: FrameworksCoreTests:android.content
Change-Id: Ifaa1c58135e6aa2a46ecbba92a9266e7d29d5421
2021-06-08 11:00:55 -07:00
TreeHugger Robot
4bb784103f Merge "Enable dimming for mid-range luminance wallpapeprs." into sc-dev 2021-06-08 18:00:31 +00:00
TreeHugger Robot
15cc80b39c Merge "Use RobotoStatic-Regular for the weight 400 of roboto family" into sc-dev 2021-06-08 17:57:30 +00:00
Jack Yu
d3602b12ee Added service temporarily unavailable support
Added a mechanism for underlying data service to report
service temporarily unavailable. In this case, frameworks
uses the configured retry timer to retry establishing data
connection again.

Fix: 184122463
Test: atest DataConnectionTest
Change-Id: I57705b720b6438d8f9f0076f83decc1c17782f6b
2021-06-08 10:56:09 -07:00
TreeHugger Robot
0d0d1ae649 Merge "Call KeyguardViewMediator#hideWithAnimation on the main thread" into sc-dev 2021-06-08 17:51:02 +00:00
TreeHugger Robot
bf37dd716d Merge "Fix position of QSSecurityFooter" into sc-dev 2021-06-08 17:49:00 +00:00
Selim Cinek
157c57fda7 Merge "Tuned the heads up animations more" into sc-dev 2021-06-08 17:37:23 +00:00
Josh Tsuji
c00c87543b Merge "Remove DozeUi from the TunerService so we don't leak memory." into sc-dev 2021-06-08 17:31:01 +00:00
Fabian Kozynski
446166d7bf Remove flags for wallet and alarm
Flags are no longer needed.

Test: disable flags
Test: atest QuickAccessWalletTileTest AlarmTileTest
Fixes: 190467517
Change-Id: Iae2d1a8b46a5fcd5efb76c1966c7f9822a04104a
2021-06-08 13:12:32 -04:00
TreeHugger Robot
5c518a0878 Merge "Add game mode to TimeStats - System Server changes" into sc-dev 2021-06-08 17:09:43 +00:00
Alexander Dorokhine
6756cce808 Merge "Move to non-hidden APIs for handleUser and broadcast registration." into sc-dev 2021-06-08 17:07:52 +00:00