627502 Commits

Author SHA1 Message Date
Aaron Huang
3f93679709 Merge "Remove PersistableBundle(Bundle) usage from ConnectivityService" am: e32c7c482e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1556097

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I56756f9e45baa506cb304bd6c560c4129df7417a
2021-03-04 04:04:25 +00:00
Hyundo Moon
38e721adb1 Do not use MediaCommunicationManager below Android S
Bug: 181649697
Test: Builds successfully
Change-Id: I2ea7107acfbedd36533e2b28f53409822050e16a
2021-03-04 12:54:20 +09:00
Aaron Huang
e32c7c482e Merge "Remove PersistableBundle(Bundle) usage from ConnectivityService" 2021-03-04 03:50:50 +00:00
Mill Chen
c0b90aef2d Support regular toolbar
To make Settings UI consistent, the different types of toolbar will be
applied according to what the android platform is. The collapsing
toolbar is only supported on S or higher and the general toolbar will be
shown on the other platforms.

Bug: 179380824
Test: visual verified
Change-Id: Ia59f9ec22010708c46ece55d69b47870ed16f021
2021-03-04 11:50:46 +08:00
Paul Hu
0e37e30151 Merge "Replace ConnectivityManager hidden symbols on framework" am: 1297f90193
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I83a8eb6c8cefd7f84448ad14acd97e6582a4d1e4
2021-03-04 03:11:45 +00:00
Siarhei Vishniakou
dca1946d4c Use InputEventAssigner to assign input to frame
When a frame is determined to be caused by an input event, it will be
labeled with a specific input event id. The newly added entity,
InputEventAssigner, is responsible for determining which input
event we should use.

For regular ACTION_MOVE events, we will take the latest input event as
the event that has caused the frame. For the initial gesture
(ACTION_DOWN), we will use the first event (the ACTION_DOWN itself) to
figure out the down latency. This will allow us to split up 'down' and
'scroll' latencies.

Bug: 169866723
Test: looked at the data printed locally to logcat
Test: atest InputTests
Change-Id: I8513a36960e5d652d07655d1267e758d0c59ced7
2021-03-04 03:11:19 +00:00
Tej Singh
0c7463b8d7 Merge "Java flag support for statsd" into sc-dev 2021-03-04 03:11:12 +00:00
Remi NGUYEN VAN
739f8a3fb1 Merge "Add Build.IS_DEBUGGABLE to public API" am: 9c16d8e25d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1397947

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I939354b4a5de3d4ecbab9e43438c39cd3aed9ae0
2021-03-04 03:08:57 +00:00
Paul Hu
1297f90193 Merge "Replace ConnectivityManager hidden symbols on framework" 2021-03-04 03:07:08 +00:00
Sudheer Shanka
028e394c23 Merge "Add new network process capability." am: ae0fa6d359
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612822

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I47466241367f39cb9540df3fffab59df6354401b
2021-03-04 03:06:06 +00:00
Remi NGUYEN VAN
9c16d8e25d Merge "Add Build.IS_DEBUGGABLE to public API" 2021-03-04 03:02:56 +00:00
Sudheer Shanka
ae0fa6d359 Merge "Add new network process capability." 2021-03-04 03:02:49 +00:00
Treehugger Robot
a2611c00ca Merge "Use Log instead of Slog in QosCallbackAgentConnection" am: c0b0157d3e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614020

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d5362567ab4c9f510582261ef365edfaabceaf5
2021-03-04 03:01:11 +00:00
Treehugger Robot
c0b0157d3e Merge "Use Log instead of Slog in QosCallbackAgentConnection" 2021-03-04 02:58:37 +00:00
Treehugger Robot
eeb8bba5f4 Merge "Address comments on aosp/1612040." am: e486d38855
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1613962

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id3ad9eb4cf16d37cddfaece70b4f72755fd4e3a2
2021-03-04 02:56:42 +00:00
Frank Li
8e7a1b38d9 Merge "[CS05]Remove the hidden API usage of MetricsLogger" am: 9e79e9d99a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612039

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8de53ff3755ae4f15bdaf1b4f6dbd1850e99ed94
2021-03-04 02:52:52 +00:00
Hall Liu
c4c7142216 Merge "Allow empty tokens in strict grammar" into rvc-dev am: 5fa6de7421
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554971

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I419d9acef8f843871677fd509682041c2dcef177
2021-03-04 02:46:40 +00:00
Hall Liu
d80b097d82 Merge "Allow empty tokens in strict grammar" into rvc-dev am: c5c9242194
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554969

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I481f17b14cac37be689af462843cc1576bbbebae
2021-03-04 02:46:32 +00:00
Junyu Lai
013ae86f00 Merge "[FUI19] Migrate ConnectivityService to use NetworkStatsManager" am: 7563c45083
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560408

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I90895f9109aaa2fbe8d76b1b7904dff9d09cb512
2021-03-04 02:42:52 +00:00
Bill Yi
17c8f10914 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie9d116b861fdccd54e0d125b499e5613e9bb4a47
2021-03-04 02:42:44 +00:00
Hall Liu
432bbbcdf2 [automerger skipped] Merge "Allow empty tokens in strict grammar" into rvc-dev am: 5fa6de7421 -s ours
am skip reason: Change-Id Iac1cdd643253fd186a164b863d65d6e92698fd38 with SHA-1 b7cffcab32 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554971

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia6aacc3b1417f9d3b144e97ed0e5346567044ce2
2021-03-04 02:41:00 +00:00
Hall Liu
e5496f1e73 [automerger skipped] Merge "Allow empty tokens in strict grammar" into rvc-dev am: c5c9242194 -s ours
am skip reason: Change-Id Ie82dded77a3eaa75095333b0e77f10e21c9f7caf with SHA-1 a3986a5def is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554969

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie006851def2e4621d02b90972b3825538f46b923
2021-03-04 02:40:57 +00:00
Felipe Leme
f377c28fc5 Add parent check on DevicePolicyManager.isSafeOperation()
Test: atest ManagedProfileTest#testParentProfileApiDisabled
Fixes: 180922138

Change-Id: I8b709edca8bd96569484be2f14bd7cb9768fa54e
2021-03-03 18:36:01 -08:00
Presubmit Automerger Backend
6c3a9dbba3 [automerged blank] DO NOT MERGE: Move AlarmManager to apex 2p: 7c0ee35b1e
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13756708

Change-Id: I9cf143de858f1b1554167f07796be3205aa36309
2021-03-04 02:33:28 +00:00
Suprabh Shukla
7c0ee35b1e DO NOT MERGE: Move AlarmManager to apex
Mechanical refactoring to move all except native code to the apex
directory. Accesses across the jar boundary will be cleaned up in
follow-ups.
Also, moved alarm manager code into its own package for better
organization.

Test: Buids, boots. Existing tests:
atest FrameworksMockingServicesTests:AlarmManagerServiceTest
atest CtsAlarmManagerTestCases

Bug: 181724498
Change-Id: Ida46491c1f1dff02dce4c50d3fafd4efbf977766
Merged-In: Ida46491c1f1dff02dce4c50d3fafd4efbf977766
2021-03-04 02:33:17 +00:00
Seigo Nonaka
b797729b3f Merge "Avoid infinite loop for invalid XML format" into sc-dev 2021-03-04 02:31:25 +00:00
Joanne Chung
41a214c2a7 Merge "Make SelectionActionModeHelper hardcoded constants configurable." into sc-dev 2021-03-04 02:30:32 +00:00
Alex Mang
d77366e4f2 Merge "Propagate ContentCaptureManager allowlist update to activities" into sc-dev 2021-03-04 02:26:25 +00:00
Hall Liu
5fa6de7421 Merge "Allow empty tokens in strict grammar" into rvc-dev 2021-03-04 02:25:54 +00:00
Hall Liu
c5c9242194 Merge "Allow empty tokens in strict grammar" into rvc-dev 2021-03-04 02:25:54 +00:00
Ryan Lin
880fdaf4cf Merge "Add new application category for accessibility" into sc-dev 2021-03-04 02:18:22 +00:00
JW Wang
2aa982583b Populate fields for committed staged sessions
Those fields are needed for pre-reboot verification and
installation after reboot.

Bug: 181731810
Test: atest StagedInstallTest StagedInstallInternalTest
Test: 1. `adb install --staged SOMEAPP`
      2. reboot the device before the session reaches READY
      3. `adb shell pm list staged-sessions` after boot completed
      4. check the session is READY instead of FAILED
Change-Id: I3de3336cdfac9b925ba6ebb981db773e3a566047
2021-03-04 10:16:25 +08:00
TreeHugger Robot
b7967ff9a8 Merge "Revoke storage on SDK downgrade or new full storage request" into rvc-dev am: b9e15c3f1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13137831

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idf46fcae18c9548c755ede7b402e1965c5cc26a3
2021-03-04 02:14:59 +00:00
Kevin Han
e022510fc1 Add new component usage event (2/2)
Report component usage when a service is bound if the service is bound
from an external package and the binding is considered usage.

Explicitly exempt JobService bindings from this usage definition.

Bug: 175829712
Test: adb shell dumpsys usagestats <package-name>
Test: manual test
Change-Id: I0bd9becd209ddc77b55f3102e7b03c4e2269ef4f
2021-03-03 18:14:34 -08:00
TreeHugger Robot
83f12a47be [automerger skipped] Merge "Revoke storage on SDK downgrade or new full storage request" into rvc-dev am: b9e15c3f1a -s ours
am skip reason: Change-Id Ia6bd5658b77a26ab15fea013ec875050457473e0 with SHA-1 b29834bc15 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13137831

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6d39db2db558507fdc40929dd7a302bd9396c5e0
2021-03-04 02:10:11 +00:00
Treehugger Robot
e486d38855 Merge "Address comments on aosp/1612040." 2021-03-04 02:04:36 +00:00
TreeHugger Robot
0e3c11d860 Merge "Process output events in a separate function" into sc-dev 2021-03-04 02:00:56 +00:00
James Lin
22344bbeb8 Merge "Update the RCS UCE APIs." into sc-dev 2021-03-04 01:56:30 +00:00
TreeHugger Robot
ce12969adb [automerger skipped] Merge "Revoke storage on SDK downgrade or new full storage request" into rvc-qpr-dev am: 7a180dd7ad am: eacb354efe -s ours
am skip reason: Change-Id Ia6bd5658b77a26ab15fea013ec875050457473e0 with SHA-1 dc90670bb4 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13545747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I11d7a97eb3692d4fb9cd15aa76be87822b897af0
2021-03-04 01:47:15 +00:00
Bill Yi
07851412a0 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 67a9eecc69
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13765165

Change-Id: I5809ea0d67a28016063313a3babb644d04628325
2021-03-04 01:43:59 +00:00
Bill Yi
67a9eecc69 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I681da31f7b543e9507bcd6f6b8aed30cb74fb81b
2021-03-04 01:42:47 +00:00
Frank Li
9e79e9d99a Merge "[CS05]Remove the hidden API usage of MetricsLogger" 2021-03-04 01:34:53 +00:00
Sally Yuen
d85600e7f8 Merge "Color correction string update" into sc-dev 2021-03-04 01:32:55 +00:00
Chris Li
b53e07bcd8 Merge "Update TaskLaunchParamsModifier.java to use DA instead DC" into sc-dev 2021-03-04 01:26:06 +00:00
Junyu Lai
7563c45083 Merge "[FUI19] Migrate ConnectivityService to use NetworkStatsManager" 2021-03-04 01:24:57 +00:00
Winson Chung
a416ee18a6 Use the right executor for callbacks in Shell code
Bug: 181814254
Test: atest SystemUITests
Change-Id: I60a196360f9ff435ce99cb5e1d42d3da400d1206
2021-03-03 17:23:55 -08:00
TreeHugger Robot
eacb354efe Merge "Revoke storage on SDK downgrade or new full storage request" into rvc-qpr-dev am: 7a180dd7ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13545747

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I350025235e34593c01c3e87f1340832ae99b24be
2021-03-04 01:23:01 +00:00
Kevin Han
157db238a6 Add new component usage event (1/2)
Add a new usage event to UsageStats when a component in a package is
used (content provider binding, explicit broadcast, activity resume)
and it is considered to be important usage.

The follow-up CL will handle the service binding case as it is a little
complicated due to job bindings.

Bug: 175829712
Test: adb shell dumpsys usagestats <package-name>
Test: atest UserUsageStatsServiceTest
Change-Id: I1f2967dcf5999a8f0affea94bce4c0873a04e022
2021-03-03 17:15:23 -08:00
Jeff DeCew
82336d7562 Merge "Change groups to use number in the expander." into sc-dev 2021-03-04 01:12:21 +00:00
TreeHugger Robot
198c943d87 Merge "Hide API for combined sequential effects." into sc-dev 2021-03-04 01:00:03 +00:00