Commit Graph

626003 Commits

Author SHA1 Message Date
Alexander Dorokhine
84e45dc691 Merge "Move Executor parameter into SearchResult#getNextPage." into sc-dev 2021-02-26 00:11:02 +00:00
Alex Buynytskyy
30a9255320 Merge "Fixing some AIDL warnings." into sc-dev 2021-02-26 00:00:25 +00:00
Eugene Susla
f341c5ab4e Merge "Fix NPE in CDM UI" into sc-dev 2021-02-25 23:50:55 +00:00
Lyn Han
27b5e90577 Merge "Fix bubble flyout alignment for right-side stack" into sc-dev 2021-02-25 23:50:34 +00:00
Sunny Goyal
101fc2483f Merge "Stop listening to config changes in AppWidgetService" into sc-dev 2021-02-25 23:21:03 +00:00
Marco Ballesio
8df97d53ff Merge "CachedAppOptimizer: use new cgroup api for freezer path" into sc-dev 2021-02-25 23:12:30 +00:00
Amy Zhang
0594498491 Merge "Fix MmtpRecordEvent and TsRecordEvent NoSuchMethodError crash in jni" into sc-dev 2021-02-25 22:49:35 +00:00
Ahaan Ugale
baee28f434 Merge changes from topics "default-reco", "default-reco-config" into sc-dev
* changes:
  VIMS: Use the new recognizer config resource for init.
  Introduce a default speech recognizer.
2021-02-25 22:13:11 +00:00
Ahaan Ugale
3a1cef2e92 VIMS: Use the new recognizer config resource for init.
When initializing or resetting the recognizer setting, the configured
package is preferred over other available recognizers.

Bug: 175480455
Test: manual - unset recognizer, reboot, and check the setting
Test: atest CtsAssistTestCases CtsVoiceInteractionTestCases \
  CtsVoiceSettingsTestCases
Change-Id: I2fc225eba56bc787b267262d9917e718035c6047
2021-02-25 22:12:49 +00:00
Seigo Nonaka
fb19bcc08d Merge "Add @CurrentTimeMillisLong annotation to getLastModifiedTimeMillis" into sc-dev 2021-02-25 22:07:20 +00:00
Soonil Nagarkar
8a3d8f79a5 Merge "Update some Nullable annotations on PendingIntent" into sc-dev 2021-02-25 22:05:13 +00:00
Ray Essick
7fdf65e28e Merge "Common keys for video QP manipulation" into sc-dev 2021-02-25 22:02:08 +00:00
Adam Bookatz
84fc40ad81 Merge "MeasuredEnergyStats - remove unused accumulate parameter" into sc-dev 2021-02-25 21:55:02 +00:00
Eugene Susla
18db3f493d Fix NPE in CDM UI
Test: atest CompanionDeviceManagerTest
Change-Id: I19b5a29b0e3d8a048219806810d7e35eae6d767c
2021-02-25 13:42:52 -08:00
Thierry Strudel
d27ed1bd48 Merge "PowerStats: adjust time since boot to epoch before writing to disk" into sc-dev 2021-02-25 21:29:45 +00:00
Alexander Dorokhine
ad71d8301a Move Executor parameter into SearchResult#getNextPage.
Bug: 180460795
Test: AppSearchSessionCtsTest
Change-Id: Iaf8ef970222801bf097a6b83643909d48ad44844
2021-02-25 13:05:25 -08:00
Fabian Kozynski
6f5cc2b98b Merge "Change QQS to use tiles with side labels" into sc-dev 2021-02-25 20:48:48 +00:00
Kweku Adams
339f0b2696 Merge "Wait for unlock to start jobs." into sc-dev 2021-02-25 20:45:21 +00:00
TreeHugger Robot
2863f6a40d Merge "Convert WifiPowerCalculator to work with BatteryUsageStats" into sc-dev 2021-02-25 20:15:38 +00:00
Lucas Dupin
0f16a22d3d Merge "Only enable overlay where package is installed" into sc-dev 2021-02-25 20:13:04 +00:00
Alex Buynytskyy
2645c147b7 Fixing some AIDL warnings.
Can't change the enum values as they are a part of public API (and enum-zero is not a warning apparently).

Fixes: 179836890
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I4d59410ec3476298cc98fdcc9584468b1debcb41
2021-02-25 20:08:39 +00:00
Matt Pietal
6aa114f86e Merge "PIN view - Fix multiple ripples" into sc-dev 2021-02-25 20:05:12 +00:00
Amy Zhang
952c2a99de Fix MmtpRecordEvent and TsRecordEvent NoSuchMethodError crash in jni
Due to Tuner 1.1 extension, these two java classes should have had
more parameters in their class descriptors.

Test: atest android.media.tv.tuner.cts
Bug: 181152149
Change-Id: I6c8e5996a449b272e1b712135f28bee428d776a8
2021-02-25 20:04:55 +00:00
Evan Rosky
272c776dbb Merge "Create surfacecontrol before layout in relayoutWindow" into sc-dev 2021-02-25 20:00:30 +00:00
Hongwei Wang
9bdee79a47 Merge "Fixes autoEnterPip transition from landscape" into sc-dev 2021-02-25 19:50:01 +00:00
Adam Bookatz
26b0a0864c MeasuredEnergyStats - remove unused accumulate parameter
The parameter was always true (it was a remnant of a previous
approach).

Test: atest FrameworksCoreTests:com.android.internal.power.MeasuredEnergyStatsTest
Bug: 174818228
Change-Id: I3be5392966c3455b2df145044809a581abbf245c
2021-02-25 11:02:17 -08:00
Fabian Kozynski
e15017ed14 Change QQS to use tiles with side labels
* 2x2 in portrait, 1x4 in landscape
* 4 columns in landscape QS

Other fixes while changing this:
* Animations between QQS and QS look better
* Fix alignment of tiles labels
* Improve line logic for labels

Test: manual
Test: atest SystemUITests
Bug: 171319433
Bug: 180632445
Fixes: 180472943
Fixes: 180191343
Change-Id: I67fbe27796461bee7d2364f81b47f2efd31e4b41
2021-02-25 14:00:21 -05:00
Jing Ji
9b64f7eac6 Merge "Validate the ProcessRecord while iterating LRU list with ProcLock" into sc-dev 2021-02-25 18:48:01 +00:00
Thierry Strudel
721bb44733 PowerStats: adjust time since boot to epoch before writing to disk
Data stored to disk are extracted into an incident report for timeseries
visualization which shows walltime and may span multiple reboot sessions
so storing walltime is better suited than relative time since device boot.

Bug: 179712445
Tests: atest FrameworksServicesTests:PowerStatsServiceTest
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Change-Id: I5ae8e2fe22f1ab9ea960e5be8fef4e9fb1cc10f0
2021-02-25 10:38:01 -08:00
Evan Severson
445abca30e Merge "Expose SensorPrivacy as SystemApi" into sc-dev 2021-02-25 18:29:43 +00:00
Eugene Susla
098bd02d64 Merge "Address CDM API feedback" into sc-dev 2021-02-25 18:28:27 +00:00
Neil Fuller
fcfe1f1c56 Merge "Improve server flags / add more server control" into sc-dev 2021-02-25 18:24:54 +00:00
Svetoslav Ganov
3f9a7c0f52 Merge "Location provider app ops remapping" into sc-dev 2021-02-25 18:18:42 +00:00
Amy Zhang
02abb5b924 Merge "Allow filter configurations to have NULL filterSettings" into sc-dev 2021-02-25 18:05:39 +00:00
Beverly Tai
381a711650 Merge "Don't show now playing in new rotating text area" into sc-dev 2021-02-25 17:43:15 +00:00
Ray Essick
69886ab003 Common keys for video QP manipulation
Definitions for managing Video encoding Quantization Parameter (QP).
Providing a standardized key instead of various vendor-specific keys.

Bug: 161486623
Test: build, b/179554934 for functionality
Change-Id: I8f1976cff55e119a2b42332de3d7ae690dc9e1fa
(cherry picked from commit de66953c0a)
2021-02-25 16:44:32 +00:00
Marco Ballesio
25400d83db Merge "CachedAppOptimizer: remove native freezer enabling code" into sc-dev 2021-02-25 16:27:59 +00:00
Matt Pietal
d5f2cd6ed7 PIN view - Fix multiple ripples
Only apply animation on DOWN motion

Fixes: 180994829
Test: manual
Change-Id: Ifdb6e6319e063d577aecdf84dcb7197bd5c725d3
2021-02-25 10:41:54 -05:00
Arthur Hung
01dabee996 Merge "Add keycombination and double tap key commands" into sc-dev 2021-02-25 15:25:29 +00:00
Neil Fuller
2856d9e52f Improve server flags / add more server control
Add more server flags that can be pushed to devices to influence geo
detection service behavior.

This renames DeviceConfig as ServerFlags and introduces an intermediary,
the ServiceConfigAccessor, to hide details and handle changes to config
values that need the location_time_zone_manager to restart.

Simulating server flag changes example:
adb shell cmd device_config put \
    system_time primary_location_time_zone_provider_enabled_override false

Inspecting manager / provider states:
adb shell dump location_time_zone_manager

The following manual tests were conducted to check the plumbing:

Modifying settings behavior:
adb shell cmd device_config put \
    system_time location_time_zone_detection_setting_enabled_override true
<Confirm the settings value cannot be changed by user>

adb shell cmd device_config put \
    system_time location_time_zone_detection_setting_enabled_override false
<Confirm the settings value can be changed by user>

adb shell cmd device_config delete \
    system_time location_time_zone_detection_setting_enabled_override
<Confirm it returns to normal>

Disabling the feature / location_time_zone_manager:
adb shell cmd device_config put \
    system_time location_time_zone_detection_feature_supported false
<Confirm SettingsUI (after restart) doesn't show the geo detection option>
<Confirm manager is not started>

Enabling the feature / location_time_zone_manager:
adb shell cmd device_config put \
    system_time location_time_zone_detection_feature_supported true
<Confirm manager is restarted>

Note: "cmd device_config" doesn't allow multiple config keys to be
changed at once, and any change to service config keys cause the
location_time_zone_manager to restart. When changing multiple, set
"location_time_zone_detection_feature_supported false" to stop the
manager, and "location_time_zone_detection_feature_supported true" when
all changes are done.

Test: Manual testing (see above)
Test: treehugger
Bug: 178107773
Change-Id: I07b57add1ed47197587907b9f0a85f38acc0a76a
2021-02-25 15:24:24 +00:00
Arthur Hung
48efb5544f Merge "Make more system dialogs could receive CLOSE_SYSTEM_DIALOGS" into sc-dev 2021-02-25 14:46:31 +00:00
Zimuzo Ezeozue
b9f76e103c Merge "Extend AnrController to improve ANR dialog controls" into sc-dev 2021-02-25 14:17:15 +00:00
Philip Junker
daeb58b574 Merge "Add support for navigation repeat sound effects" into sc-dev 2021-02-25 14:03:14 +00:00
Zoey Chen
da74086ba4 Merge "[Telephony] Store correct value for multi-sim case - DataEnabled" into sc-dev 2021-02-25 13:31:04 +00:00
Fiona Campbell
26715c82b6 Merge "Change BrightnessMappingStrategy to use DDC values" into sc-dev 2021-02-25 13:25:10 +00:00
Nataniel Borges
a32ef5bd2a Merge "Updates flicker documentation and improve naming" into sc-dev 2021-02-25 12:33:34 +00:00
Jamie Garside
072bedcef8 Android config updates for one handed bouncer.
This is the changes in Settings (to store the current screen side) for
the one-handed keyguard. This also checks in symbols.xml to expose the
platform config to SysUI (the lines in symbols.xml are currently in
config.xml; I'm assuming that a previous revert didn't remove them).

Bug: 170858298
Test: included.
Change-Id: I9d91a9360c821562634e83295f5e2e340f6de1d5
2021-02-25 11:54:39 +00:00
Oli Lan
09826b9f82 Merge "Save calling package when ClipData is set to improve toast attribution." into sc-dev 2021-02-25 11:26:02 +00:00
Sean Stout
b80cfeeddb Merge "Pass display ID to PowerManagerService on user interaction" into sc-dev 2021-02-25 10:28:37 +00:00
Marvin Ramin
1efa93d72c Merge "Only attempt terminating ARC for audio devices" into sc-dev 2021-02-25 10:28:06 +00:00