Commit Graph

646292 Commits

Author SHA1 Message Date
Xi Han
fe5022a3c8 Merge "Correct the flag in NetworkController." into sc-dev 2021-07-09 17:36:16 +00:00
Beverly Tai
fa6a428347 Merge "Don't set udfps icon visibility on illumination change" into sc-dev 2021-07-09 16:54:25 +00:00
Songchun Fan
3172fe263a Merge "Remove @TestApi and @Readable for NFC_PAYMENT_DEFAULT_COMPONENT" into sc-dev 2021-07-09 16:39:42 +00:00
Anna Zappone
268234b2b9 Merge "Add available description for talkback" into sc-dev 2021-07-09 15:52:54 +00:00
Andy Hung
91327adeda Merge "MediaMetricsManagerService: Unify logSessionId representation" into sc-dev 2021-07-09 15:48:11 +00:00
Henry Fang
d2b280408b Merge "fix memory leak in initilization and finalization" into sc-dev 2021-07-09 15:48:09 +00:00
Mark Renouf
a7af7f8346 Merge "Quiet down long screenshots logcat output" into sc-dev 2021-07-09 15:29:18 +00:00
TreeHugger Robot
4596722184 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-09 14:12:43 +00:00
TreeHugger Robot
5b31467f3b Merge "Add limitations to HDR." into sc-dev 2021-07-09 14:02:34 +00:00
TreeHugger Robot
bf79a4c434 Merge "Crash invalid FGS notifications" into sc-dev 2021-07-09 13:55:38 +00:00
Lais Andrade
1dd6f20e3b Merge "Fix concurrent external vibrations on ExternalVibratorService" into sc-dev 2021-07-09 13:44:56 +00:00
Santos Cordon
5ba3e1fec4 Add limitations to HDR.
1. Only allow HDR if HDR takes up more than 50% of the screen.
2. Scale normal brightness range to HDR levels. To do this, we now keep
the normal brightness range when HDR is enabled and scale the brightness
value to the higher HBM range. This allows HDR to scale as it did
previous as well as function as expected when automatic-brightness is
off.
3. Add more logging to HBMController dumpsys.

Bug: 187804126
Bug: 188479946
Bug: 189384189
Test: atest com.android.server.display
Change-Id: I515a9ee7ca16bcf8070b1cdab09943b68f038949
2021-07-09 13:43:58 +01:00
Lais Andrade
76761e8b6b Fix concurrent external vibrations on ExternalVibratorService
The ongoing external vibration should be muted via
IExternalVibrationController and the service should not
set external control on the vibrator more than once.

Fix service to mute ongoing external vibration at the time it's
cancelled and to skip calls to setExternalControl when it's already set.

Fix: 193127756
Test: VibratorManagerServiceTest
Change-Id: If61f5fd2c41dc6d15655d9ce537c858caaf530c6
2021-07-09 12:34:15 +01:00
Nikita Ioffe
1d2cbb6f50 Merge "Grant INSTALL_PACKAGE_UPDATES permission to Shell" into sc-dev 2021-07-09 11:33:01 +00:00
Jason Chang
56bb99d410 Merge "Add metrics log for One-handed mode Shortcut toggle switch" into sc-dev 2021-07-09 11:30:14 +00:00
George Chang
bf0d8be298 Remove @TestApi and @Readable for NFC_PAYMENT_DEFAULT_COMPONENT
Remove @Readable for security vulnerability.
Remove @TestApi since there's no exceptions in ReadSettingsFieldsTest

Bug: 191519696
Bug: 174151290
Test: atest CtsNfcTestCases
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Test: atest CtsQuickAccessWalletTestCases
Test: make RunSettingsRoboTests -j
Test: atest QuickAccessWalletTileTest
Merged-In: I13c038753d3acf3f3b651af3cd22ff55cd464cb1
Change-Id: I13c038753d3acf3f3b651af3cd22ff55cd464cb1
2021-07-09 09:46:29 +00:00
Tej Singh
5801ebb8e6 Merge "Cleanup appsearch platform logger" into sc-dev 2021-07-09 08:26:21 +00:00
Bill Yi
6c3d995336 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8c1d1996a32657801a4cfdfa9ed8647d5f9f874f
2021-07-09 07:13:58 +00:00
TreeHugger Robot
929e584dce Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-09 05:08:56 +00:00
Chiawei Wang
bb8c2fa657 Merge "Add config_customizedMaxCachedProcesses to symbols.xml" into sc-dev 2021-07-09 04:05:27 +00:00
Jason Chang
97b75f09ed Add metrics log for One-handed mode Shortcut toggle switch
To write metrics log for One-handed mode Shortcut toggle switch state.

Bug: 192641587

Test: Local add logs to verify before writing metrics logs API call
Test: atest SystemUITests
Test: atest WMShellTests
Change-Id: I02fda724bf2960355d78f1a26ac6d65225687176
2021-07-09 03:24:58 +00:00
Henry Fang
f3e53d082c fix memory leak in initilization and finalization
bug: 193107250
Test: Manual
Change-Id: I5b57ee6467d39765fab15d7a2b4b8e7c09ad8f3a
2021-07-08 19:56:26 -07:00
Rob Carr
5f28230d34 Merge "ViewRootImpl: Fix issue with early draw report in seamless rotation" into sc-dev 2021-07-09 02:28:27 +00:00
Bill Lin
7f162ddaf0 Merge "Improve SystemUIBootTiming performance in OneHandedController" into sc-dev 2021-07-09 02:00:33 +00:00
Amith Yamasani
9eed97ac10 Merge "Fix FGS notification mismatch" into sc-dev 2021-07-09 01:45:59 +00:00
Mark Renouf
84f80d152d Quiet down long screenshots logcat output
With this change, a long screen shot flow generates only
the following log entries:

D Screenshot: ScrollCapture: connected to window [com.example/.ExampleActivity]
D Screenshot: onCaptureStarted
D Screenshot: end()
I Screenshot: Completed: LongScreenshot{w=1080, h=5339}

Tags covered:

LongScreenshotActivity
Screenshot
ScrollCaptureConnection
ScrollCaptureInternal
ScrollCaptureViewSupport
ScrollCaptureController
ViewRenderer

Bug: 190399332
Test: observe logcat during long screenshot
Change-Id: Ia2b018224897ad1ca153967ff9f60340a64f4815
2021-07-09 01:25:50 +00:00
Jeff DeCew
82a1baf813 Merge "Delete dead code which had adverse performance impact." into sc-dev 2021-07-09 00:12:59 +00:00
Hasini Gunasinghe
55d8797628 Merge "Pull Keystore2CrashStats Atom." into sc-dev 2021-07-09 00:08:39 +00:00
Nikita Ioffe
65eb22cc56 Grant INSTALL_PACKAGE_UPDATES permission to Shell
Bug: 188062003
Test: m
Change-Id: I342f64e666afa4202b8af69f04d64b05d40fac40
2021-07-09 00:52:08 +01:00
TreeHugger Robot
52b72fab44 Merge "Document the standby bucket guarantee" into sc-dev 2021-07-08 23:26:59 +00:00
Julia Reynolds
a2c2bfdefd Merge "Fixed an issue where the heads up were not rounded during bypass" into sc-dev 2021-07-08 23:13:23 +00:00
Beverly Tai
ec1a26e36c Merge "NonBypass - enter device if user is attempting udfps auth" into sc-dev 2021-07-08 22:36:56 +00:00
Beverly Tai
6fbb5bec73 Merge "Only hide udfps bouncer when transitioning TO doze" into sc-dev 2021-07-08 22:36:37 +00:00
Evan Severson
f701c8d1d8 Merge changes If8da2ae5,I38445a13 into sc-dev
* changes:
  Log duration privacy toggle was in previous state
  Persist the last time a sensor's privacy state changed
2021-07-08 22:03:53 +00:00
Anna Zappone
88bac9ca54 Add available description for talkback
Bug: 189908609
Test: PeopleTileViewHelperTest and local
Change-Id: I5b00dfdb8aa04b84aa71d37adfbd06f134bcf5a9
2021-07-08 22:48:12 +01:00
Tej Singh
7961d27429 Cleanup appsearch platform logger
Test: TH
Bug: 192684294
Change-Id: I8e6828b9cbcbd30d06370ad19f2d36290298da25
2021-07-08 14:45:36 -07:00
Chris Li
50c03ea7ed Merge "Revert "Revert "Not show size compat UI when task is not visible""" into sc-dev 2021-07-08 21:44:10 +00:00
TreeHugger Robot
d377029798 Merge "Camera: Clarify zoom and crop behavior for capture result" into sc-dev 2021-07-08 20:40:03 +00:00
Andy Hung
47233309c0 MediaMetricsManagerService: Unify logSessionId representation
Use 96 bit integer / 16 char BaseURL representation.

Test: atest AudioTrackTest#testSetLogSessionId
Test: atest AudioRecordTest#testSetLogSessionId
Test: atest MediaRecorderTest#testSetGetLogSessionId
Test: atest MediaDrmTest#testPlaybackComponent
Bug: 193164585
Change-Id: I99a070f4ca4efb03416dff770c2a3a90d7ad2c58
2021-07-08 13:27:28 -07:00
Robert Carr
a93fcc9e33 ViewRootImpl: Fix issue with early draw report in seamless rotation
When we receive RELAYOUT_RES_BLAST_SYNC from the WindowManager, we
trigger reportNextDraw, incrementing the pending draw count by one.
At the moment we unfortunately do this after dispatching callbacks
to SurfaceView. In the span of these callbacks, SurfaceView may
increment and decrement pending draw count, once it reaches zero
we will notify the WM of draw early, terminating the sync operation
without ever waiting for the ViewRootImpl to draw. By processing
RELAYOUT_RES_BLAST_SYNC before emitting the SurfaceView callbacks
we can avoid this issue.

Bug: 191921061
Test: Existing tests pass
Change-Id: I2f1096c9cdc79b89413c3f0bfd9b3054ef45f2d2
2021-07-08 13:23:33 -07:00
TreeHugger Robot
2d5d1676ff Merge "Camera: Set metadata vendor id in extension proxy service" into sc-dev 2021-07-08 20:20:19 +00:00
Jeff DeCew
1bac76c51b Delete dead code which had adverse performance impact.
Fixes: 193012673
Test: post custom view notifications and switch theme
Change-Id: I59f0919d35af9114932d2c1fc0fef8430a771fb1
2021-07-08 16:02:51 -04:00
Beverly Tai
14fe934578 Merge "Allow bypass + show errors on alt bouncer" into sc-dev 2021-07-08 19:19:00 +00:00
Chris Li
a23a2bb5db Revert "Revert "Not show size compat UI when task is not visible""
This reverts commit 76370b6fe6.

Reason for revert: Fix the merge break in ShellTaskOrganizerTests.java

Fix: 193069342
Test: atest WMShellUnitTests:ShellTaskOrganizerTests
Change-Id: I02c4bddc407eaac0ebb7cd5abb0b394f242d4d6e
2021-07-08 12:09:40 -07:00
Emilian Peev
07d8600a35 Camera: Set metadata vendor id in extension proxy service
Set the appropriate vendor id for any native metadata
instantiated within the camera extension proxy service.

Bug: 187341271
Test: Partner verified,
Camera CTS

Change-Id: I07e0be304baac017d44606c1612a24c520bed588
2021-07-08 11:51:56 -07:00
Beverly
8f295edcfd Don't set udfps icon visibility on illumination change
We don't need to set it to invisible for LHBM. On AOD udfps-auth there
would be a delay on re-showing the icon.

Test: manual
Fixes: 192411694
Change-Id: I3a601d2345706399039311e5fe7393b9ae2bf593
2021-07-08 14:40:46 -04:00
TreeHugger Robot
576c548b3c Merge "[SettingsProvider] make nfc_payment_default_component readable" into sc-dev 2021-07-08 18:07:58 +00:00
Chris Li
e7ed99bfc2 Merge "Remove TaskInfo#topActivityToken usage in size compat for security" into sc-dev 2021-07-08 18:05:40 +00:00
Julia Reynolds
c9c32d5f19 Merge "Fix NPE during restore" into sc-dev 2021-07-08 18:02:44 +00:00
Beverly
1093f7c370 Only hide udfps bouncer when transitioning TO doze
If we're transitioning OUT of doze, we should continue
to show the udfps bouncer. For example, this can happen if a user
taps on a notification in AOD2.

Test: manual
Fixes: 192416569
Change-Id: Ia5928022333ba860abdff841f0acc92af27a562f
2021-07-08 13:49:19 -04:00