Commit Graph

644256 Commits

Author SHA1 Message Date
Bill Yi
bf0f67487d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I43ec1dd791412f0b21b43de24a04de4207eae88f
2021-06-17 23:47:05 +00:00
TreeHugger Robot
4823943403 Merge "Fix NPE in FaceDetectClient" into sc-dev 2021-06-17 21:18:48 +00:00
TreeHugger Robot
f92b5c4936 Merge "Enabling CAR_MONITOR_INPUT in com.android.car.rotary.xml" into sc-dev 2021-06-17 20:50:27 +00:00
Rob Carr
e7fc75760a Merge "WindowState: Correct wallpaper scaling" into sc-dev 2021-06-17 20:19:26 +00:00
TreeHugger Robot
7a4809f99a Merge "Fix the default notification color in dark mode" into sc-dev 2021-06-17 20:14:55 +00:00
TreeHugger Robot
29a7cd05d0 Merge "Using InteractionJankMonitor only in S+" into sc-dev 2021-06-17 20:13:38 +00:00
TreeHugger Robot
c100aeabbc Merge "Fix usage filter over UNKNOWN vibration" into sc-dev 2021-06-17 20:12:14 +00:00
Julia Reynolds
6b1067a79f Merge "Store DND rule owners" into sc-dev 2021-06-17 19:34:43 +00:00
Beverly Tai
7ed65c1d49 Merge "Send AOD auth interrupt only after display state is ON" into sc-dev 2021-06-17 19:02:28 +00:00
Joshua Mccloskey
205da0e27d Fix NPE in FaceDetectClient
Test: N/A
Fixes: 190810158
Change-Id: I951c81117cd0adae4570a32f8389e6651d14ea6d
2021-06-17 11:58:42 -07:00
Ioannis Ilkos
3d44d6ed95 Merge "Add VmStat atom and read the count of OOM kills" into sc-dev 2021-06-17 17:31:39 +00:00
Dmitri Plotnikov
4f3d2e64cd Merge changes from topic "battery_usage_stats_before_reset" into sc-dev
* changes:
  Implement battery_usage_stats_before_reset pull atom
  Add BatteryUsageStatsQuery parameters: time range
  Implement BatteryUsageStatsStore
  Convert BatteryUsageStats to and from XML
  Add BatteryUsageStats.add(BatteryUsageStats)
2021-06-17 17:23:00 +00:00
TreeHugger Robot
c3c3fbbaa3 Merge "Revert "wfd: release wifi p2p resource on disconnecting from WFD service."" into sc-dev 2021-06-17 17:10:05 +00:00
TreeHugger Robot
6d21beab20 Merge "Load wallpaper bitmap once instead of twice" into sc-dev 2021-06-17 16:48:50 +00:00
Antonio Kantek
4422c2ecb0 Enabling CAR_MONITOR_INPUT in com.android.car.rotary.xml
Bug: 191330748
Test: m -j32 (+ installed on seahawk)
Change-Id: I8721991a978bdbde7d6f6f852c55a0fb85634a84
2021-06-17 09:32:47 -07:00
Huihong Luo
fec5e82e69 Merge "Fix potential ASurfaceTransactionCallback leaks" into sc-dev 2021-06-17 16:32:06 +00:00
Jimmy Chen
8aa14ab547 Revert "wfd: release wifi p2p resource on disconnecting from WFD service."
This reverts commit fa0aeee678.
Reason for revert: during the disconnection, there are still codes using WifiP2pService.

Bug: 184504089
Test: execute "adb shell setprop persist.debug.wfd.enable 1" and restart the DUT
Change-Id: I0f5a31e072e31fb10f0efe667caa6a6d85942867
2021-06-17 16:16:58 +00:00
Fabian Kozynski
255565b20c Merge "Make sure that icons are right aligned in QQS" into sc-dev 2021-06-17 14:41:12 +00:00
Fabian Kozynski
22a01eca60 Merge "Store state of active TileService" into sc-dev 2021-06-17 14:40:52 +00:00
Lais Andrade
ba57b002d3 Fix usage filter over UNKNOWN vibration
The usageFilter parameter added to Vibrator.cancel is always cancelling
UNKNOWN vibrations (usage = 0). The filter should only cancel them if
the value is the same usage, or if all usages are being cancelled.

Fix: 182440404
Test: VibratorManagerServiceTest
Change-Id: Ibf33fe24e5253501e751b027cbf4b68564d82929
2021-06-17 15:30:11 +01:00
Michał Brzeziński
0f6b5c9754 Merge "Hiding split shade media container when not needed" into sc-dev 2021-06-17 14:17:06 +00:00
Mariia Sandrikova
eb267ed84e Merge "DO NOT MERGE Clean up ADB commands for letterbox and display API sandboxing." into sc-dev 2021-06-17 14:08:01 +00:00
Dave Mankoff
d2455e0c75 Merge "Remove listeners when destroying GlobalActionsDialog." into sc-dev 2021-06-17 13:56:15 +00:00
Josh Tsuji
f3dd83dbae Merge "Disable screen off animation in situations where it currently looks bad." into sc-dev 2021-06-17 13:45:21 +00:00
Fiona Campbell
d77459a21f Merge "Fix memory leak in BrightnessSynchronizer" into sc-dev 2021-06-17 13:41:45 +00:00
TreeHugger Robot
2c95c7632a Merge "Catch bubbles exception in PeopleTiles" into sc-dev 2021-06-17 13:26:52 +00:00
TreeHugger Robot
0ec737dab8 Merge "KeyguardIndication text updates" into sc-dev 2021-06-17 12:48:23 +00:00
Mathew Inwood
4d4f39980c Merge "Use non-logging compat framework calls" into sc-dev 2021-06-17 12:46:07 +00:00
Pavel Grafov
6f5fe9271d Merge "More debug for security loggin broadcast" into sc-dev 2021-06-17 11:04:37 +00:00
Robin Lee
8766e5c15e Merge "SystemUI: add GlobalActionsComponent for tv [1/1]" into sc-dev 2021-06-17 09:30:28 +00:00
Pedro Loureiro
2ae1e25b80 Merge "Run bpfmt on api/Android.bp" into sc-dev 2021-06-17 09:19:38 +00:00
Riddle Hsu
5b24daa483 Merge "Generalize the condition to take task snapshot when entering AOD" into sc-dev 2021-06-17 07:07:30 +00:00
Dmitri Plotnikov
5ee2f6caac Implement battery_usage_stats_before_reset pull atom
Bug: 187223764
Test: m statsd_testdrive; statsd_testdrive 10111
Change-Id: I3c27deb57672d962f1029219b50d21d784c997b7
Merged-In: I3c27deb57672d962f1029219b50d21d784c997b7
(cherry picked from commit 0d25efa419)
2021-06-17 05:24:48 +00:00
Dmitri Plotnikov
c24fb81627 Add BatteryUsageStatsQuery parameters: time range
Bug: 187223764
Test: atest FrameworksCoreTests:BatteryUsageStatsProviderTest
Change-Id: If370360695a3f0327f07457abac1fd02164864e1
Merged-In: If370360695a3f0327f07457abac1fd02164864e1
(cherry picked from commit 6ea400b27c)
2021-06-17 05:24:37 +00:00
Dmitri Plotnikov
f7e7d084ee Implement BatteryUsageStatsStore
Bug: 187223764
Test: atest FrameworksCoreTests:BatteryUsageStatsStoreTest

Change-Id: I66bbb173f402e795c900ccf3bc82b8fb210142a4
Merged-In: I66bbb173f402e795c900ccf3bc82b8fb210142a4
(cherry picked from commit 2a0460f701)
2021-06-17 05:24:24 +00:00
Dmitri Plotnikov
d82aa7e5c4 Convert BatteryUsageStats to and from XML
Bug: 187223764
Test: atest FrameworksCoreTests:BatteryUsageStatsTest#testXml
Change-Id: I6aec09bfb87c1003ede1b24cce8cf474675d2448
Merged-In: I6aec09bfb87c1003ede1b24cce8cf474675d2448
(cherry picked from commit 4b8a26bcaa)
2021-06-16 22:21:05 -07:00
Dmitri Plotnikov
36e0ae27a9 Add BatteryUsageStats.add(BatteryUsageStats)
Bug: 187223764
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryUsageStatsTest
Change-Id: I1e5060d726fd0f4634fd658483e80a9ab02e24fb
Merged-In: I1e5060d726fd0f4634fd658483e80a9ab02e24fb
(cherry picked from commit 63d9aecdbb)
2021-06-16 22:18:09 -07:00
Robert Carr
0900271a8d WindowState: Correct wallpaper scaling
A recent CL moved wallpaper scaling to the WindowState level
to avoid fighting with the BLAST adapter at the WindowState level.
It mistaken scaled from the top left corner of the wallpaper instead
of the center. This CL restores the old logic.

Bug: 190532253
Test: Existing tests pass
Change-Id: Ic809e69d1a2b57b771e0657ba98b508d062e58c9
2021-06-16 21:27:45 -07:00
Ryan Lin
9da336b4c1 Merge "Fix incorrect magnification border after rotation" into sc-dev 2021-06-17 01:38:49 +00:00
Kevin Chyn
b2e3ba68b0 Merge "Launch action to admin component when button clicked" into sc-dev 2021-06-17 01:28:17 +00:00
Kevin Chyn
c3e64b14c5 Merge "Add BiometricActionDisabledByAdminController" into sc-dev 2021-06-17 01:27:03 +00:00
Nikita Ioffe
3989c51011 Merge "Drop prebuilt files to android source tree." into sc-dev 2021-06-17 00:32:26 +00:00
Felipe Leme
60ec24eb1e Merge "Split DevicePolicyManagerInternal into DevicePolicyManagerLiteInternal." into sc-dev 2021-06-17 00:03:24 +00:00
Bill Lin
789f014c04 Merge "Allow one-handed mode shortcut expand notification" into sc-dev 2021-06-16 23:59:28 +00:00
Kevin Chyn
b35863580b Launch action to admin component when button clicked
Bug: 188847063
Test: "Set up parental controls" screen seen
Test: m -j RunSettingsLibRoboTests ROBOTEST_FILTER=BiometricActionDisabledByAdminControllerTest
Change-Id: Iad3ffbcd87fe3af5ebaf6a1e6078bf772606efc4
2021-06-16 16:41:14 -07:00
Kevin Chyn
4e84b8849a Add BiometricActionDisabledByAdminController
1) Adds UserManager#DISALLOW_BIOMETRIC. We actually need to
   pass a restriction from settings to ActionDisabledByAdmin area,
   otherwise the biometric-specific dialog would be shown outside of
   biometric flows.
2) Adds an interface to ActionDisabledByAdminController to return a
   optional OnClickListener for the positive dialog button
3) Returns an instance of the biometric controller when conditions
   are met
4) Adds string interfaces to DeviceAdminStringProvider to retrieve
   biometric-specific strings

Bug: 188847063
Bug: 191306258
Test: manual

Change-Id: Iaeffdeb1336d5db56d464104cdc7677b9021f609
2021-06-16 16:41:14 -07:00
TreeHugger Robot
b2c6cd7474 Merge "[DO NOT MERGE] Fix layout for errorprone build" into sc-dev 2021-06-16 23:39:43 +00:00
TreeHugger Robot
603ade2fcc Merge "Coordinate circle reveal with authRipple" into sc-dev 2021-06-16 22:42:56 +00:00
Humza Azam
83f88bc43a Merge "Revert "Revert "Revert "HULK SMASH! We've gotta declare REL."""" into sc-dev 2021-06-16 22:03:08 +00:00
Jorge Gil
c6e212c5b2 Merge "Start pinchResize only if pointers are inside PIP" into sc-dev 2021-06-16 21:59:53 +00:00