Commit Graph

615375 Commits

Author SHA1 Message Date
Marcin Oczeretko
542a022a41 Merge "Add sf_missed_frames field to UiInteractionFrameInfo atom" 2020-12-15 09:07:44 +00:00
Remi NGUYEN VAN
eada640d5d Merge changes from topic "tcp_keepalive_fix"
* changes:
  Use API TcpKeepalivePacketData in ClientModeImpl
  Add TcpKeepalivePacketData to SystemApi
2020-12-15 09:02:55 +00:00
Chiachang Wang
b4ed8a801f Merge "[IT01] Move power state stats logging out from NMS" am: 6557000a11 am: b5cf3d63f3 am: c6036ee388
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517497

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9517e2c8b56e26aac6e9995ca0b53906627b501f
2020-12-15 08:56:11 +00:00
Chiachang Wang
f4dade2aec Merge "Remove hidden deprecated getActiveNetworkQuotaInfo" am: 9924f6ac8f am: d779d994aa am: 2478855f1b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527738

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3f3b1e288635d84e93115fddbbafb5321f55646e
2020-12-15 08:55:43 +00:00
Sarah Chin
48eec1970f Move phone ID to extra for action provision
Previously, the phone ID was appended to the broadcast in DCT and sent
to ConnectivityManager. Instead of sending both as an action, send the
phone ID as an extra instead to make the action a protected broadcast.

Test: manually verify a SecurityException when action provision is sent
Test: atest DcTrackerTest
Bug: 172459128
Change-Id: Ic4129def86949d7191d15056852718dadbd72fba
2020-12-15 00:25:01 -08:00
Chiachang Wang
c6036ee388 Merge "[IT01] Move power state stats logging out from NMS" am: 6557000a11 am: b5cf3d63f3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517497

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iac33b23f3e6beb313d1fae0f36d5b99d001cb635
2020-12-15 08:12:36 +00:00
Chiachang Wang
2478855f1b Merge "Remove hidden deprecated getActiveNetworkQuotaInfo" am: 9924f6ac8f am: d779d994aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527738

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4d06df07e1ee4d856ceabff0a7928d04a19f29f
2020-12-15 08:12:16 +00:00
TreeHugger Robot
1ecd270dbe Merge "Wifi: Disable network when detecting carrier eap error" 2020-12-15 07:48:53 +00:00
Alexander Dorokhine
b0bb379e10 Unhide AppSearchSession APIs.
Bug: 172180369
CTS-Coverage-Bug: 175661706
Test: AppSearchCtsTests
Change-Id: Ia00206ec4bbe78cc0c970fb2f0c708740a3078af
2020-12-14 23:42:48 -08:00
Chiachang Wang
b5cf3d63f3 Merge "[IT01] Move power state stats logging out from NMS" am: 6557000a11
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517497

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1bb09a47670a4c1ff9fcf1da3adfd891575dc190
2020-12-15 07:42:41 +00:00
Chiachang Wang
d779d994aa Merge "Remove hidden deprecated getActiveNetworkQuotaInfo" am: 9924f6ac8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527738

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia59544cd76712acdcc406f0f0391a0bbfe5c2f9e
2020-12-15 07:39:15 +00:00
Tianjie
30c57a8784 Update the owner file for recovery system tests
The owner file covers unit tests for recovery system.

Test: build
Change-Id: Icab312759d376095566077e3dd0fdc878566712b
2020-12-15 07:35:42 +00:00
Chiachang Wang
6557000a11 Merge "[IT01] Move power state stats logging out from NMS" 2020-12-15 07:35:17 +00:00
Chiachang Wang
9924f6ac8f Merge "Remove hidden deprecated getActiveNetworkQuotaInfo" 2020-12-15 07:02:54 +00:00
Alexander Dorokhine
779b7cebf0 Sync platform from Jetpack.
Included changes:
* caf5d9: Add a uri prefix to visibility store documents.
* 5b26a8: Minor comment fix in AppSearchSession
* 31b691: Add package visibility APIs for schema types.
* d36a2c: Require a package name in AppSearchImpl.

Bug: 169883602
Bug: 162450968
Test: Presubmit
Change-Id: I155145e4b14a271f3012cb7b5efbbe1b7ba27a18
2020-12-14 22:58:12 -08:00
Chiachang Wang
8fd2f6d2aa Remove hidden deprecated getActiveNetworkQuotaInfo
getActiveNetworkQuotaInfo has never been in API surface since it
was introduced. It became essentially functionless since android O,
so there should be no usage dependency upon the hidden method,
In order to support ConnectivityService mainline, remove the
useless function to prevent necessary dependency.

Bug: 172183305
Test: atest FrameworksNetTests
Change-Id: Ia685b3260256d465ef614b2f577d13344074c787
2020-12-15 06:45:50 +00:00
Riddle Hsu
274239d938 Correct annotation of ActivityOptions.SourceInfo.SourceType
The field only presents one type, so it should not be a flag.

Also correct a typo comma.

Bug: 174237260
Test: build
Change-Id: I7bd1cf0778fc8c11f3ff9dfcbc32129a6b74821b
2020-12-15 14:31:43 +08:00
Baligh Uddin
7cb30de800 Merge "Migrate to frameworks/proto_logging/stats" 2020-12-15 06:29:11 +00:00
Chilun
7e5cff6f62 Fix 2-level task to 1-level task (2/2)
Fix remaining tests to use 1-level task.

Bug: 155824575
Test: atest RootActivityContainerTests
      atest TaskStackTests
Change-Id: Ib2e9ceb377e1232781760f2cb1a5cdf02ef315fb
2020-12-15 14:13:53 +08:00
JW Wang
e86a9431ab Merge "Sessions committed later shouldn't cause earlier ones to fail" 2020-12-15 06:04:00 +00:00
Kohsuke Yatoh
3383d0b93b Add fonts/OWNERS for font-related files.
Test: n/a
Change-Id: I98bd4b1c6274e1414c107fd75f08bcd0367ede00
2020-12-15 05:31:26 +00:00
Yunfan Chen
f60bfae886 Support tappable elements on left/right sides
This is to let window provide tappable elements on left or right side.
This is useful when there's a task bar. The task bar needs to provide
tappable elements insets on the side where the bar is, and it may not be
the top or bottom side.

Bug: 172289399
Test: atest InsetsStateTest
Test: go/wm-smoke
Change-Id: I5bc8d010f4ad212acb779265aff1d2622f5e2da4
2020-12-15 14:21:07 +09:00
Xiangyu/Malcolm Chen
029906c253 Merge "Automatically dismiss SIM combination warnings and selection dialogs." 2020-12-15 04:53:43 +00:00
Remi NGUYEN VAN
0efc8e6105 Merge "Run LowpanManager on BackgroundThread" am: e9c000eee2 am: f4e6668082 am: eb32604c2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513142

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ica052872b3fa68321d93be37969387c9f3f71497
2020-12-15 04:48:59 +00:00
Sudheer Shanka
cb6f73708a Merge "Update owners for appsearch related code." 2020-12-15 04:27:53 +00:00
Remi NGUYEN VAN
eb32604c2b Merge "Run LowpanManager on BackgroundThread" am: e9c000eee2 am: f4e6668082
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513142

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c501da3c8a7b5217d1574d5e7e4e41e0535e227
2020-12-15 03:55:01 +00:00
Chen Xu
10fa34333f Merge "add permission check for exported activity" into rvc-qpr-dev am: 11ed014edf am: be3cafd401
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13209422

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5025b0a00beadafed14f12e9872a0a3d146e0591
2020-12-15 03:47:38 +00:00
Terry Wang
115113c67c Merge "Porting AppSearch jetpack upstream changes to platform" 2020-12-15 03:36:45 +00:00
Chen Xu
be3cafd401 Merge "add permission check for exported activity" into rvc-qpr-dev am: 11ed014edf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13209422

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I65b25d86e6f2a21244f88699b0da537804a27cfc
2020-12-15 03:29:55 +00:00
Remi NGUYEN VAN
f4e6668082 Merge "Run LowpanManager on BackgroundThread" am: e9c000eee2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513142

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9a3654a23153a7c2aaab8a89836709e3ce2a8293
2020-12-15 03:28:53 +00:00
Felipe Leme
f8dcca3c3e Introducing FactoryResetter, a single entry point for factory reset calls.
The new class has options to wipe external storage and factory reset
proctection, so it can be a single entry point from both
DPM.wipeData() and the ManagedProvisioning app, which in turn will make
it easier to postpone these operations on automotive when the
vehicle is moving.

Test: atest FrameworksServicesTests:DevicePolicyManagerTest \
            FrameworksMockingServicesTests:FactoryResetterTest

Test: adb shell dumpsys activity service --user 0 com.afwsamples.testdpc wipe-data 7

Bug: 171603586
Bug: 175392542
Fixes: 172697975

Change-Id: I37d5f8c59645459e48620047261ffd06d90ac2be
2020-12-14 19:26:50 -08:00
Chloris Kuo
f480dbb6ed Merge changes from topic "Feedback UI"
* changes:
  Feedback Inline Setting change
  Feedback UI Improvement 1. Show different icon for different NAS adjustments 2. Fix style issues in dark theme and new S notification UI change
2020-12-15 03:23:43 +00:00
Chen Xu
11ed014edf Merge "add permission check for exported activity" into rvc-qpr-dev 2020-12-15 03:10:56 +00:00
Remi NGUYEN VAN
e9c000eee2 Merge "Run LowpanManager on BackgroundThread" 2020-12-15 03:10:36 +00:00
Chris Li
acd9970113 Add tests for Ime reparent to target RootDisplayArea
Follow up of ag/12218308 and ag/13075329

Bug: 156355859
Bug: 173478743
Test: atest WmTests:DualDisplayAreaGroupPolicyTest
Change-Id: I01fb149a3cfb1428716484c30d2f7bb7b474740b
2020-12-14 18:45:18 -08:00
Chloris Kuo
8047aec1e4 Merge "New DeviceConfig flags for NAS" 2020-12-15 02:43:04 +00:00
TreeHugger Robot
cb236b7092 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-15 02:41:59 +00:00
Darryl Johnson
a3c423c3fd Merge "Add nullability annotations to device state XSD file." 2020-12-15 01:35:00 +00:00
Lucas Dupin
823889cc79 Monet feature flag
Feature flag to disable/enable system colors based on the wallpaper.

Bug: 174676673
Test: adb shell setprop persist.sysui.monet 0
Test: adb shell setprop persist.sysui.monet 1
Change-Id: I3e8035d772a007f6d3e3c36cfd656144e558b9e5
2020-12-14 17:32:29 -08:00
Sally Yuen
56ffbf68b0 Merge "Add support to play back MotionEvent data for gestures" 2020-12-15 01:27:15 +00:00
Tim Murray
0d14e02d42 PackageManager: don't call Debug.getCallers() for an error message
Debug.getCallers is expensive, so don't call it as part of a potential
exception message.

Test: no Debug.getCallers runtime
Bug: 161323622

Change-Id: Iffe875edc3d8a7d55941642680d604a0862a7eb4
2020-12-14 17:23:21 -08:00
TreeHugger Robot
ed6cd24cfa Merge "Add crystal ball support to pm perf tests" 2020-12-15 01:15:54 +00:00
Tianjie Xu
6213dbfc11 Merge "Update the OWNERS file for locksettings" am: 14e70a6510 am: 25ebb2bea4 am: 56afaf2c18
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528859

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ied7a9bd35d64e1914607c623152d0162d85ecb40
2020-12-15 01:09:23 +00:00
Jeff Sharkey
a004868b99 Merge "Update the owner of recovery systems" am: 612b7e7d1d am: 483f980afe am: a2ae9eb6e1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528978

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I891d5d247245f1dda6241d0fc9a660acb8798be0
2020-12-15 01:08:55 +00:00
Jeff Sharkey
73ce95bc8e Merge "Add OTA team as the owner of recovery systems" am: 8ef2e0426a am: 305b2ce554 am: 44a90dab48
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528858

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I22cc552df4dc5fec6c1a35cac78bd4e5af473d59
2020-12-15 01:08:27 +00:00
Lucas Dupin
c390f83eb0 Allow custom implementation of color extraction
Relevant methods can be overriden on an OEM defined implementation

Test: atest ThemeOverlayControllerTest
Test: dumpsys
Bug: 174676673
Change-Id: Ifb6a35b347871af89b7fd25602bc242a90972945
2020-12-14 17:04:59 -08:00
Tianjie Xu
56afaf2c18 Merge "Update the OWNERS file for locksettings" am: 14e70a6510 am: 25ebb2bea4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528859

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icc4e6ca5aeb08f3d9068df1627f5ec801f0b0e97
2020-12-15 00:45:22 +00:00
Jeff Sharkey
a2ae9eb6e1 Merge "Update the owner of recovery systems" am: 612b7e7d1d am: 483f980afe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528978

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idffa8d9f4d9473b205244a92e222cee5e2d6f99b
2020-12-15 00:45:09 +00:00
Jeff Sharkey
44a90dab48 Merge "Add OTA team as the owner of recovery systems" am: 8ef2e0426a am: 305b2ce554
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1528858

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I47e7c56345f66dd137ba664eed24d01ba7a2cfab
2020-12-15 00:44:58 +00:00
Hyunyoung Song
a4d162d039 Merge "Add new MANAGE_SEARCH_UI permission for the cts test" am: 243b768b24 am: 49f7265198 am: 00ea4c0484
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527764

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I998bb48c2ecdfe53cbd75fc22ee3f7e7500ec217
2020-12-15 00:37:09 +00:00