Commit Graph

644726 Commits

Author SHA1 Message Date
Adam Bookatz
29852f8aa0 Merge "Revert "Apply colors a bit earlier when switching users"" into sc-dev 2021-06-23 20:03:43 +00:00
Adam Bookatz
4cfb4ca966 Revert "Apply colors a bit earlier when switching users"
This reverts commit e02895a32f.

Reason for revert: Regression in multiuser performance metrics

Change-Id: I46b16d21841e33f2203319407c595553081d18fe
Bug: 190830245
2021-06-23 20:03:01 +00:00
TreeHugger Robot
31bb5762d8 Merge "Fix unmuting both cam and mic at the same time" into sc-dev 2021-06-23 19:43:17 +00:00
Sudheer Shanka
d5bda8a0d5 Merge "Avoid calling into phone process with NPMS locks held." into sc-dev 2021-06-23 19:01:16 +00:00
TreeHugger Robot
81419f4be3 Merge "Camera: Switch camera extension proxy service package name" into sc-dev 2021-06-23 18:55:59 +00:00
Lucas Dupin
ba23b84687 Merge "Correctly serialize population" into sc-dev 2021-06-23 18:48:37 +00:00
TreeHugger Robot
cdd6adb5c5 Merge "Update lock screen user switcher on settings update and re-create view stub after disabling multi-user" into sc-dev 2021-06-23 18:43:10 +00:00
Lucas Dupin
26308cd40f Merge "Disable blurs when in battery saver" into sc-dev 2021-06-23 18:40:42 +00:00
Zhen Zhang
b70b810af4 Merge "Log storage savings info with the GlobalHibernatedApps atom" into sc-dev 2021-06-23 18:25:44 +00:00
Joe Bolinger
a95d3af476 Merge "Always execute the user switch HAL operation." into sc-dev 2021-06-23 18:18:03 +00:00
TreeHugger Robot
8890ec0d54 Merge "Remove Intent.ACSD from KEYCODE_SEARCH action in-app" into sc-dev 2021-06-23 18:16:15 +00:00
Calin Juravle
a389edcf51 Merge "Set the timestamp of dex2oat metrics to SystemClock.uptimeMillis()" into sc-dev 2021-06-23 17:43:16 +00:00
Evan Severson
6b6589ec88 Fix unmuting both cam and mic at the same time
Test: Mute both sensors and open app which starts mic/cam use at the
same time
Fixes: 190468128

Change-Id: I738abe025f366f42b13b18c9e7593629691512eb
2021-06-23 17:14:13 +00:00
Alexander Dorokhine
4e229f4471 Merge "Update framework from jetpack." into sc-dev 2021-06-23 17:12:36 +00:00
Julia Reynolds
d4cfd70d69 Merge "Don't do un-needed work" into sc-dev 2021-06-23 17:12:25 +00:00
Julia Reynolds
070889a384 Merge "Fix NPE when deleting old zen rules" into sc-dev 2021-06-23 17:12:06 +00:00
Matt Casey
18650530b3 Merge "Long screenshot fixes for apps that return less than the requested rect" into sc-dev 2021-06-23 17:06:21 +00:00
Lucas Dupin
ebd663f556 Correctly serialize population
All populations were being set to 0, causing all colors to be wrong.

Test: manual
Bug: 191391779
Bug: 191374703
Change-Id: Id5bef180ca3e6f30e30631781a74b2efb4402ac5
2021-06-23 09:30:24 -07:00
Li Li
77e41c6850 Merge "Move Freezer flags to _boot namespace" into sc-dev 2021-06-23 16:12:46 +00:00
Calin Juravle
4c75ae6c23 Set the timestamp of dex2oat metrics to SystemClock.uptimeMillis()
This will allow us to inspect whether or not compilation times
degrade over time.

Test: ArtStatsLogUtilsTest
Bug: 170149255
Change-Id: I3a0946b4e2bba32db3c972a871bbd2519d1d70c3
2021-06-23 08:33:26 -07:00
Julia Reynolds
b894bbc2c3 Don't do un-needed work
Reading the history files can we expensive; don't do it
when we know we don't have to make any changes

Test: atest
Fixes: 191793576
Change-Id: I37026b14e0006420475c7f97f786ff9b139ea008
2021-06-23 15:28:29 +00:00
Selim Cinek
9a6bdd9fc1 Merge "Added some logging for removal animations" into sc-dev 2021-06-23 14:52:56 +00:00
Jeff DeCew
ccb14ac813 Merge "Don't crash the notification bind if the icon fails to resolve." into sc-dev 2021-06-23 14:26:09 +00:00
Julia Reynolds
b4fe101e5e Fix NPE when deleting old zen rules
Test: manually revoke access for a DND app that has rules
created before and after b/189332346
Fixes: 191773100
Bug: 189332346
Change-Id: I7e4fc3cad00d59c6f9f64bbb0f776c3fad751d19

Change-Id: I069fcc124af24227fa50b61d4fc55d6dadc7a20b
2021-06-23 10:13:25 -04:00
TreeHugger Robot
b4e9cab136 Merge "Update the java doc of AndroidKeyStoreProvider#getKeyStoreOperationHandle to support Signature object" into sc-dev 2021-06-23 14:07:08 +00:00
Matt Casey
2ec7b90b51 Long screenshot fixes for apps that return less than the requested rect
- Use pixel height instead of tile count to determine ideal long screenshot height.
- After adding each tile, go back and see if there are gaps in the tile
  set, if so then try to fill in the gap before continuing walking up or
  down.
- Set max tiles to a constant as it's for system safety and not a
  completion criteria in the common cases.
- Remove ImageTileSet's unused OnBoundsChangedListener (definition got
  more complicated now that we're dealing with gaps).

Test: atest ScrollCaptureControllerTest
Test: atest FakeSessionTest
Bug: 189475409

Change-Id: I0cfc9519e7fa444d662ac41e0bef4fced785a98e
2021-06-23 09:47:48 -04:00
TreeHugger Robot
7712f3bc0a Merge "Validate the HotwordDetectedResult" into sc-dev 2021-06-23 13:29:09 +00:00
Fabian Kozynski
eb59ef35f0 Merge "Remove extra log line" into sc-dev 2021-06-23 13:13:41 +00:00
Fabian Kozynski
60ce5b2dab Merge "Fix margins in QSDetail" into sc-dev 2021-06-23 13:10:09 +00:00
Riddle Hsu
2a7139a34f Merge "Ignore wallpaper enter animation" into sc-dev 2021-06-23 12:17:51 +00:00
TreeHugger Robot
ea4260ea51 Merge "Update the minHeight of Switch to fulfill Accessiblilty guideline" into sc-dev 2021-06-23 12:03:45 +00:00
Nikita Ioffe
b3db287943 Merge "Rename partner-apex-allowlist to vendor-apex-allowlist" into sc-dev 2021-06-23 10:47:38 +00:00
Edgar Wang
ad950d5d3b Update the minHeight of Switch to fulfill Accessiblilty guideline
- Set minHeight to 48dp

Fixes: 191730521
Test: manual
Change-Id: I210740699e258cefaaed6bff8c8504e73658385a
2021-06-23 18:33:48 +08:00
TreeHugger Robot
1a10b25d48 Merge "Fixed an issue where the notification clipping flickered" into sc-dev 2021-06-23 10:20:24 +00:00
Bryan
f66eab85a0 Changes to how we notify widget restore participants of new ids
As part of widget restore, we need to notify participants (hosts &
providers) of the mapping between ancestral and new widget ids.
Prior to this change, this was done at the end of system restore
and after each restore-at-install of unbundled apps.

There were two issues with this:
1) We would try to notify not-yet-installed participants at the end of
system restore and then *not* try again when they were installed.
2) We relied on PACKAGE_ADDED broadcasts to know which participants were
installed, but these are delivered asynchronously and not guaranteed
to be processed before the restoreFinished call.

After this change, we:
1) Only notify participants that are actually installed
2) Use receipt of the PACKAGE_ADDED / CHANGED broadcast to trigger
notification of any restore participants that are added or changed
*after* system restore completes.

2 is safe because by the time PackageManager sends the package
added / changed broadcasts, the app data restore has been completed,
and the app has been killed if needed.

Bug: 162057170
Test: Manual restore of Keep widget via cloud and d2d
Change-Id: I51dec33d09b62faba6d7c7daacd718a3c0682f7d
2021-06-23 09:24:09 +00:00
TreeHugger Robot
b886e41ad3 Merge "Fix weight of media to be 1 in landscape" into sc-dev 2021-06-23 08:46:40 +00:00
Selim Cinek
90dbb8f6ae Added some logging for removal animations
Also fixes an issue which could possibly lead to no animation
when a view updated with heads up just exactly when the user dismissed
it.

Bug: 187291379
Test: dismiss notification, observe new logs
Change-Id: I6cb93c945a53031ca1a872e28be72883c1b0028d
2021-06-23 10:43:28 +02:00
Selim Cinek
fb5e240730 Fixed an issue where the notification clipping flickered
Because stopped clipping all views, the top views that were
scrolled could flicker on the screen during notification
launches

Fixes: 191470773
Test: add scrolled notification, launch, observe no flickering
Change-Id: Ia30abfdc6a46e8680bc336c3682ff5e35b0fb606
2021-06-23 08:24:21 +00:00
Selim Cinek
b436fb9f42 Merge "Disappearing UDFPS view when dragging down on lockscreen" into sc-dev 2021-06-23 08:20:40 +00:00
Jacqueline Bronger
277c8e1b29 Merge changes I69fb6747,I1661f4ad into sc-dev
* changes:
  Show a bottom sheet when the mic/camera is blocked
  Add a tv bottom sheet to the SystemUI.
2021-06-23 08:05:43 +00:00
Ahaan Ugale
5d42257561 Merge changes from topics "cc-composing-update", "cc-merge-equals" into sc-dev
* changes:
  ContentCapture: Don't ignore events with changed composing/selection span
  ContentCapture: Notify when Composing region changes.
2021-06-23 05:05:19 +00:00
James Wei
144bb33a6a Merge "MTP: Skip runtime thumbnail generation for Android Host" into sc-dev 2021-06-23 03:53:24 +00:00
Lucas Lin
3d46c08205 Merge "Throw UnsupportedOperationException if startLegacyVpn is called" into sc-dev 2021-06-23 03:27:45 +00:00
Ryan Lin
d616f1ed95 Merge "fix package visibility for installed accessibility services" into sc-dev 2021-06-23 01:13:13 +00:00
Li Li
f10e2ecc79 Move Freezer flags to _boot namespace
Now Freezer "enable" flag belongs to _boot namespace but "timeout" is in
immediate one. This inconsistency confuses device_config. Solve it
by grouping them together.

Bug: 183713629
Test: device_config get activity_manager[_native_boot] freeze_debounce_timeout
Change-Id: I388215d5236b1f4450516acbe46fcb95457bf017
2021-06-23 00:59:28 +00:00
lucaslin
d4c4a2c95b Throw UnsupportedOperationException if startLegacyVpn is called
Legacy VPN is deprecated starting from Android S. So this API
shouldn't be called if the initial SDK version of device is
Android S+. Otherwise, UnsupportedOperationException will be
thrown.

Bug: 189808606
Test: 1. make gts && gts-tradefed
      2. run gts --module GtsNetworkStackHostTestCases
Change-Id: I00f49555bbbc8ccf270056f0e4d1bfdd927ef26d
2021-06-23 08:17:55 +08:00
Joe Bolinger
cf2a88114f Always execute the user switch HAL operation.
Currently, the user id is cached at the time the operation is
scheduled and the operation is skipped if the target id matches.
This is error prone because the user may have switched due to
another operation before execution.

Fix: 188742113
Test: manual
Change-Id: I01cd423343a49a0fb2f447f7a0f4a25cc2e8200f
2021-06-22 16:57:46 -07:00
Lucas Dupin
b5a1455663 Disable blurs when in battery saver
Test: manual
Test: atest NotificationShadeDepthControllerTest
Fixes: 191814337
Change-Id: If751578550b3397d659d3f9f97f6ee4573389a6c
2021-06-22 16:45:35 -07:00
TreeHugger Robot
1b1df33123 Merge "Don't attach private Notification to A11yEvent when user locked" into sc-dev 2021-06-22 23:06:06 +00:00
TreeHugger Robot
41e40c69f2 Merge "Tighten up Doze alarm timing." into sc-dev 2021-06-22 22:53:03 +00:00