Commit Graph

625907 Commits

Author SHA1 Message Date
Jeff DeCew
19864ec962 Fix the vertical positioning of the text in collapsed notifications.
Test: manual / visual
Bug: 181048615
Change-Id: I57fb542a776b254a6537dbed608259e69def411f
2021-02-26 14:19:00 -05:00
Jeff DeCew
072848e163 Increase the notification height to 88dp
Test: manual
Bug: 181048615
Change-Id: If2a13daf2b4b583102ec0a1d1f3df8b9f17b41dd
2021-02-26 14:18:59 -05:00
Jeff DeCew
8e7341df29 Fix the (still disabled) logic for re-theming custom view notifications
Test: manual
Bug: 181048615
Change-Id: I237e0f0464eb9c7ad5cba69d7c04f4489553370e
2021-02-24 22:55:01 -05:00
Jeff DeCew
a6d0d2932c Clean up the material notification theme definition.
Test: manual
Bug: 181048615
Change-Id: I51ef1c1aec829889ea0cbe32df82eb27bdbda656
2021-02-24 22:55:01 -05:00
Greg Kaiser
0dae8f7014 Merge "Log debug info at Debug level" into sc-dev 2021-02-25 03:48:40 +00:00
Minche Li
aa88510bc4 Merge "Corrects the icons of magnification switch" into sc-dev 2021-02-25 03:23:35 +00:00
Chris Ye
e43039e0dd Merge "Add onDeviceSetReport to HID command tool" into sc-dev 2021-02-25 03:04:38 +00:00
Jason Chang
b33721641e Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev 2021-02-25 02:55:13 +00:00
Alex Buynytskyy
02492968c6 Merge "API feedback: getVersion instead of isV2." into sc-dev 2021-02-25 02:42:52 +00:00
Chris Li
7ff46d7137 Merge "DisplayContent rotateBounds not keeping same physical position for 180" into sc-dev 2021-02-25 02:40:34 +00:00
Alexander Dorokhine
b97100acaa Merge "Update framework from jetpack." into sc-dev 2021-02-25 02:35:57 +00:00
Alex Buynytskyy
414d9ecc26 API feedback: getVersion instead of isV2.
Bug: 181015045
Fixes: 181015045
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I623f73b834759d9a1c599d7c7f3ff585fa75c4aa
2021-02-25 02:06:08 +00:00
Jerry Chang
3ea9673b74 Merge "Make stage split divider non-interactive while showing IME" into sc-dev 2021-02-25 00:51:14 +00:00
Adam Bookatz
0b905b1ef4 Merge "BatteryStats custom buckets: don't revive dead Uids" into sc-dev 2021-02-25 00:26:14 +00:00
Daichi Hirono
4423456dd9 Merge "Change deleteRootTasks so that it returns false instead of exception" into sc-dev 2021-02-25 00:23:30 +00:00
Rajeev Kumar
b21d30888b Merge "Add API to set device owner type for a managed device" into sc-dev 2021-02-25 00:21:51 +00:00
Ruslan Tkhakokhov
04501d566e Merge "Get OperationType from transport" into sc-dev 2021-02-24 23:23:36 +00:00
Ruslan Tkhakokhov
6e1b079c9a Add a feature flag to control new opt out behaviour
Introduce a lever we can use to enable / disable all new backup
eligibility behaviours from one place.

Bug: 174216309
Test: m -j
Change-Id: I17618a72c04f138204c5c0ca2c23330044c169e7
2021-02-24 23:21:35 +00:00
Ruslan Tkhakokhov
a2fdf3f5fb Get OperationType from transport
This CL was merged earlier (ag/13484966) and then reverted due to the
new behaviour breaking D2D transfers.

Merge it again with all changes being controlled by a flag (default
off), see UserBackupManagerService:getOperationTypeFromTransport in this
CL. View the diff between patchsets 1 and 2 to only see what's changed
between the earlier reverted code and the fixed version of it (i.e. with
the flag).

The flag can be changed via adb for now, we will set it to true by
default once other components are ready.

Bug: 174216309
Test: atest UserBackupManagerServiceTest
Change-Id: I7473c9b4f8d0c4d20155be76930279184ffb17c4
2021-02-24 23:21:21 +00:00
Ruslan Tkhakokhov
c3bf79a2cd Merge "Parse include / exclude config specified by dataExtractionRules" into sc-dev 2021-02-24 23:20:54 +00:00
Ruslan Tkhakokhov
f7bc904f44 Merge "Introduce 'dataExtractionRules' manifest attribute" into sc-dev 2021-02-24 23:20:54 +00:00
Jeff DeCew
832ea86f1b Merge "Fix decorated notification text colors in dark mode" into sc-dev 2021-02-24 23:17:29 +00:00
Curtis Belmonte
075cee61d4 Merge "Fix string for face auth positional help messages" into sc-dev 2021-02-24 23:11:46 +00:00
Eugene Susla
0bf57f5302 Merge "Use Activity Context for CDM ListView Adapter" into sc-dev 2021-02-24 22:47:58 +00:00
Alexander Dorokhine
8bddbddb88 Update framework from jetpack.
Included changes:
* aef5cff2: Remove hasSchemaTypeLocked.
* b2acdaae: Update documentation for setSchema and SetSchemaRequest

Bug: 180058203
Test: Presubmit
Change-Id: Id2b38bad5eb9240d514310b8122043edf35d11b5
2021-02-24 14:44:14 -08:00
Alec Mouri
1a621e8eff Merge "JNI wrapper for FpsListener." into sc-dev 2021-02-24 22:41:10 +00:00
Flavio Fiszman
491cbd85c8 Merge "Simplify onNotificationClear signature" into sc-dev 2021-02-24 22:32:17 +00:00
James O'Leary
7edf52d602 Merge "Revert^2 "[framework] Integrate new quantizers"" into sc-dev 2021-02-24 21:59:47 +00:00
Ruslan Tkhakokhov
6751d29041 Parse include / exclude config specified by dataExtractionRules
1. Parse the new config and prefer it over the old config specified by
android:fullBackupContent.

2. Add a new parameter to LocalTransportParameters to allow testing this
functionality in CTS.

Bug: 180522596
Test: atest FullBackupRulesHostSideTest
Change-Id: If18edfcdb2b9637d380251f48fdbc56cca6af3ec
2021-02-24 21:49:24 +00:00
Soonil Nagarkar
2409543ce8 Merge "Proposal: Reduce the number of IPCs in PendingIntent" into sc-dev 2021-02-24 21:48:46 +00:00
Ruslan Tkhakokhov
e32b3b5773 Introduce 'dataExtractionRules' manifest attribute
Introduce the attribute apps targeting Android S+ can use to point to an
XML file that contains rules for copying app data during backup and
transfer operations. If this attribute is specified, the config pointed
to by the existing 'fullBackupContent' will be ignored.

Bug: 174216309
Test: m -j
Change-Id: I6ad57a24b40cf5b80b312c719747e8ba89aa0a93
2021-02-24 21:48:37 +00:00
Chris Ye
5dea9a9082 Add onDeviceSetReport to HID command tool
When UHID device receives UHID_SET_REPORT event, call onDeviceSetReprot
callback function to set the report output.

Bug: 161633625
Test: atest android.hardware.input.cts.tests.SonyDualshock3UsbTest#testLights
Change-Id: I02923203ddf5a2f2090a11434db19925bbaeaf05
2021-02-24 21:39:12 +00:00
Winson Chung
99051f249a Merge "Enable shell thread" into sc-dev 2021-02-24 21:36:42 +00:00
Adam Bookatz
5bb1ec89d3 BatteryStats custom buckets: don't revive dead Uids
It is possible for old uids to be reported to BatteryStats
in updateCustomMeasuredEnergyDataLocked().
This can happen, e.g., if a uid was uninstalled between
successive custom energy updates, so that the uid did use non-zero
energy but BatteryStats doesn't care anymore since the uid is gone.
If this happens,
we don't want to recreate any removed Uid objects, so we need
to be careful to only consider Uids that aren't removed.

In practice, this method will only be called after the CPU update,
which means that BatteryStats should already know about all active
uids (assuming they used CPU). Therefore, there shouldn't be any
unknown uids actively using custom energy buckets at this point.
We therefore simply ignore any unknown uids (just log them), on
the assumption that they refer to removed uids or stopped users.

Test: atest BatteryStatsTests
Bug: 180030409
Change-Id: If4fee7a1d11b148ca16d464d6ce4720c5a251130
2021-02-24 21:30:59 +00:00
Sergey Volnov
434523ad65 Merge "Always start speech recognition service." into sc-dev 2021-02-24 21:19:05 +00:00
Kweku Adams
051c3ff0b5 Merge "Dump most recently completed jobs." into sc-dev 2021-02-24 21:13:31 +00:00
Shuo Qian
4fe89b2230 Merge "Add Emergency callback mode shell command" into sc-dev 2021-02-24 21:07:53 +00:00
Siarhei Vishniakou
554afe2691 Merge "Add presentTime to FrameInfo" into sc-dev 2021-02-24 20:38:17 +00:00
Jeff DeCew
5ba00654f4 Merge "Add API to let apps color CallStyle notifications themselves." into sc-dev 2021-02-24 20:27:34 +00:00
Eugene Susla
145d5a8955 Use Activity Context for CDM ListView Adapter
Using a service context has potential corner cases where it tries
to create UI using it, causing issues.

Test: presubmit
Bug: 180931292
Change-Id: I3a6d13ff69797cb5c7c2f25b810785e458d69430
2021-02-24 12:27:17 -08:00
Amy Zhang
352ba3d593 Merge "Fix some Tuner JNI/Client issues found with CTS" into sc-dev 2021-02-24 20:27:11 +00:00
Lucas Dupin
832d7e37b5 Merge "Fix accent color not being applied" into sc-dev 2021-02-24 20:19:16 +00:00
Pierre Barbier de Reuille
4e14c35736 Merge "Framework implementation of go/widgets-dynamic-colors" into sc-dev 2021-02-24 20:16:40 +00:00
TreeHugger Robot
5c9a0355f8 Merge "Allow syncs to be scheduled as EJs." into sc-dev 2021-02-24 20:12:50 +00:00
Suprabh Shukla
6f8a22f4be Merge "Adding Intent API to navigate to alarm permission page" into sc-dev 2021-02-24 20:06:56 +00:00
Chinmay Dhodapkar
08fe5faf25 Merge "request location based country detector in WiFi ON" into sc-dev 2021-02-24 20:06:13 +00:00
Hall Liu
babbd42dc2 Merge "User arg object in onCallFilteringCompleted" into sc-dev 2021-02-24 20:05:45 +00:00
Alina Zaidi
bfefff4115 Merge "Adjust AppWidgetProviderInfo#getDescription to return CharSequence." into sc-dev 2021-02-24 20:01:39 +00:00
TreeHugger Robot
ffbe40de1e Merge "Rename the font file with PostScript name based file name" into sc-dev 2021-02-24 20:00:16 +00:00
Soonil Nagarkar
2e0c80b260 Merge "Use full identity instead of package in historical stats" into sc-dev 2021-02-24 19:48:53 +00:00