Commit Graph

630212 Commits

Author SHA1 Message Date
Bernardo Rufino
7bb4bb0304 Adjust ACSD APIs
* ChangeId DROP_CLOSE_SYSTEM_DIALOGS doesn't need to be @TestApi.
* BROADCAST_CLOSE_SYSTEM_DIALOGS permission needs to be @SystemApi given
its protectionLevel

Bug: 181593849
Test: Builds
Test: atest CloseSystemDialogsTest
Change-Id: I6cbbc4a396f920e6cc60299ba827c76158e2e7cf
2021-03-18 18:17:31 +00:00
Julia Reynolds
d31299c5a8 Merge "Rename notificationchannel constant values" into sc-dev 2021-03-18 14:03:53 +00:00
TreeHugger Robot
589035111a Merge "Remove last references to "Panic gesture"" into sc-dev 2021-03-18 14:03:46 +00:00
TreeHugger Robot
483ba791b4 Merge "Deprecate windowSplashscreenContent" into sc-dev 2021-03-18 14:01:57 +00:00
Julia Reynolds
18417de2c5 Merge changes I5a807bbb,Icc3dd959 into sc-dev
* changes:
  Add an intdef
  Fix contrast issues in channel blocking ui
2021-03-18 13:49:05 +00:00
Shawn Lin
730ab07d11 Merge "[Reland] Add nav bar case to RemoteAnimationTarget of non-app window" into sc-dev 2021-03-18 13:32:36 +00:00
TreeHugger Robot
249237692c Merge "Promote stable ime tests to presubmit" into sc-dev 2021-03-18 12:16:49 +00:00
TreeHugger Robot
4cdcf41265 Merge "Promote stable rotation tests to presubmit" into sc-dev 2021-03-18 11:42:42 +00:00
TreeHugger Robot
4c5a91244e Merge "Promote stable app launch tests to presubmit" into sc-dev 2021-03-18 11:38:22 +00:00
Riddle Hsu
f6e9d7f098 Merge "Activity in foreground task should be able to launch activity" into sc-dev 2021-03-18 11:21:28 +00:00
Remi NGUYEN VAN
c0ccc33e65 Merge changes I77a3efca,I2c4a37ff into sc-dev
* changes:
  Migrate framework-connectivity internal resources
  Add connectivity protos to framework-connectivity
2021-03-18 11:16:25 +00:00
TreeHugger Robot
0fc7834f74 Merge "Promote stable close app tests to presubmit" into sc-dev 2021-03-18 11:07:10 +00:00
Remi NGUYEN VAN
fa6e888c68 [automerger skipped] Remove extra comment am: c7eef81c70 am: 79672e35a3 -s ours
am skip reason: skip tag Change-Id I0c0daa91ef272a19c548cf55eb2f764c95f8f844 with SHA-1 d33a8df31c is already in history

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

Change-Id: Ia8523fc8557bea3d9635d23472e4301e9b43fde5
2021-03-18 10:42:10 +00:00
Gavin Corkery
71aa57b361 [automerger skipped] Merge "Add immutability flag to PendingIntents" into rvc-qpr-dev am: 5a2b08a5f9 -s ours am: 98bf268587 -s ours
am skip reason: skip tag Change-Id Iae1489b9c8fa323448e60615e99ad96aee1cd1d7 with SHA-1 281d150245 is already in history

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

Change-Id: I1085fa0c4eeb185c55eca65b778c0aeb6a887458
2021-03-18 10:41:51 +00:00
Nataniel Borges
c01fb40a34 Promote stable ime tests to presubmit
These flaky tests have been stable for the past week and can be promoted

Test: atest FlickerTests:com.android.server.wm.flicker.ime
Bug: 171049649
Bug: 167521849
Change-Id: Iae35556c20ce2928b36fd1dfdcdf80633e802dba
2021-03-18 11:38:15 +01:00
Remi NGUYEN VAN
79672e35a3 Remove extra comment am: c7eef81c70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13906655

Change-Id: Ia86521977e1064f58651bbdb068211a7929c2cfd
2021-03-18 10:36:45 +00:00
TreeHugger Robot
043d71394c Merge "Add TEST_NETWORK_SERVICE to module API" into sc-dev 2021-03-18 10:33:54 +00:00
Bill Lin
82c923af4b Merge "2/ Do not access SettingProvider in test code" into sc-dev 2021-03-18 10:30:09 +00:00
Kholoud Mohamed
0039406fa3 Merge "Created a new testAPI isFullVolumeDevice in AudioManager" into sc-dev 2021-03-18 10:14:32 +00:00
Bill Lin
8a612f73e2 2/ Do not access SettingProvider in test code
- Refactor OneHandedSettingsUtil.java
- Remove redundant test for SettingProvider

New policy: b/175024829
Settings key: <one_handed_*> is not readable.
From S+, new public settings keys need to be annotated
with @Readable unless they are annotated with @hide.

Recent changes :
ag/13764747 Remove @Readable for hidden fields added in S

Test: atest WMShellUnitTests
Bug: 183064974
Change-Id: I85bf3680cbcdba4c85aa96de058bc85cfabead46
2021-03-18 18:14:22 +08:00
Kholoud Mohamed
9c8071e410 Merge "Exposed some testAPIs in ActivityManager" into sc-dev 2021-03-18 10:13:04 +00:00
Nataniel Borges
e4ef2478c5 Promote stable rotation tests to presubmit
These flaky tests have been stable for the past week and can be promoted

Test: atest FlickerTests:com.android.server.wm.flicker.rotation
Bug: 171049719
Bug: 167521849
Change-Id: Iebe3abe89857e96d1985ab3f840e92fa7b168844
2021-03-18 11:04:37 +01:00
Nataniel Borges
4247e14da5 Promote stable app launch tests to presubmit
These flaky tests have been stable for the past week and can be promoted

Test: atest FlickerTests:com.android.server.wm.flicker.close
Bug: 171049683
Bug: 171049760
Bug: 167521849
Change-Id: I8fb98f3c9a4866bd82e2e39fb90b861719401960
2021-03-18 11:00:35 +01:00
Gavin Corkery
98bf268587 [automerger skipped] Merge "Add immutability flag to PendingIntents" into rvc-qpr-dev am: 5a2b08a5f9 -s ours
am skip reason: skip tag Change-Id Iae1489b9c8fa323448e60615e99ad96aee1cd1d7 with SHA-1 281d150245 is already in history

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

Change-Id: I18bf8923c2c54554bb0e6dde3564a53eaab47f5d
2021-03-18 09:56:41 +00:00
Nataniel Borges
d562be3fe7 Merge "3-button mode tests for IME tests" into sc-dev 2021-03-18 09:51:17 +00:00
Wei Sheng Shih
4a1f799020 Merge "Remove the timeout which used for cleanup splash screen" into sc-dev 2021-03-18 09:45:39 +00:00
Gavin Corkery
5a2b08a5f9 Merge "Add immutability flag to PendingIntents" into rvc-qpr-dev 2021-03-18 09:29:37 +00:00
Nataniel Borges
c913f04a65 Promote stable close app tests to presubmit
These flaky tests have been stable for the past week and can be promoted

Test: atest FlickerTests:com.android.server.wm.flicker.close
Bug: 171049778
Bug: 171049647
Bug: 167521849
Change-Id: Ic7e45a27120f69b4a4d5e5ca9266809fcd969939
2021-03-18 10:24:10 +01:00
Almaz Mingaleev
d355fee300 Merge "Add time related API to TimeManager." into sc-dev 2021-03-18 09:23:30 +00:00
Remi NGUYEN VAN
dd5f6037ec Migrate framework-connectivity internal resources
Use ServiceConnectivityResources instead.
Start by creating resources in the ServiceConnectivityResources package
to match the internal configuration, and common overlays.

Bug: 182125649
Test: device boots, has connectivity
Change-Id: I77a3efca2cd644f9828db1ed5d3cae8070fb8363
2021-03-18 09:02:13 +00:00
Remi NGUYEN VAN
ee9d609a2f Merge "Add an API to listen for changes in network blocked status of an uid." into sc-dev 2021-03-18 08:50:24 +00:00
TreeHugger Robot
3be701e767 Merge "Only allow preinstalled application to be able to call setHotwordDetectionServiceConfig" into sc-dev 2021-03-18 08:24:21 +00:00
Remi NGUYEN VAN
48462ab566 Add connectivity protos to framework-connectivity
The protos are built separately by framework-connectivity from framework
protos, keeping only android.net protos for the connectivity jar.

Bug: 171860710
Test: m framework-connectivity.impl
Change-Id: I2c4a37ff2ee9e8efde49885feeafa27dcff7ca2c
2021-03-18 08:07:20 +00:00
Bill Lin
9ffc639aa1 Merge "Do not access SettingProvider in test code" into sc-dev 2021-03-18 07:17:14 +00:00
Remi NGUYEN VAN
c7eef81c70 Remove extra comment
This fixes a merge conflict with downstream branches due to an
incomplete cherry-pick.

Bug: 171540887
Test: m

Merged-In: I0c0daa91ef272a19c548cf55eb2f764c95f8f844
Change-Id: I0ec602f573698578e4d72d38772c39a1b88b87d2
2021-03-18 07:11:48 +00:00
Bill Lin
801a654427 Do not access SettingProvider in test code
New policy: b/175024829
Settings key: <one_handed_*> is not readable.
From S+, new public settings keys need to be annotated
with @Readable unless they are annotated with @hide.

Recent changes :
ag/13764747 Remove @Readable for hidden fields added in S

Test: atest WMShellUnitTests
Bug: 183064974
Change-Id: I185491189a3804d7038be3c117583ab571e7a961
2021-03-18 15:07:15 +08:00
Silin Huang
2b41d2ba0d Merge "Add quick access wallet tile." into sc-dev 2021-03-18 06:50:52 +00:00
Kevin Chyn
f8ec6f3881 Merge "Biometric time-based resetLockout for multi-biometric devices" into sc-dev 2021-03-18 06:49:37 +00:00
Ryan Lin
9f374c9065 Merge "Change context to WindowContext for non-activity window" into sc-dev 2021-03-18 06:34:55 +00:00
Sudheer Shanka
98dd271306 Add an API to listen for changes in network blocked status of an uid.
Given that ConnectivityService is moving to a mainline module, we need
a @SystemApi for it to listen for changes in blocked status of an uid.
So, we decided to create a new API for this which can provide
ConnectivityService with more info about why an uid is blocked (which
will be useful for adding a new similar onBlockedStatusChanged callback
in CM.NetworkCallback) and also captures data saver restriction without
having out to track it separately.

Currently, NPMS does some redundant computations because we are
calculating both uid rules and blocked reasons separately. In a
follow-up change, we will compute uid rules using blocked reasons
and later possibly remove that onUidRulesChanged callback.

Bug: 176289731
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Test: atest ./tests/net/java/com/android/server/ConnectivityServiceTest.java
Test: atest ./services/tests/servicestests/src/com/android/server/net/NetworkPolicyManagerServiceTest.java
Change-Id: Ib9949b8619c6b148f73630b314c4113d76c31ec1
2021-03-18 05:48:44 +00:00
Silin Huang
9461c9eb2c Add quick access wallet tile.
This tile is gated by a feature flag and the QAW Client service availability.
Also add a new icon for the wallet tile as a fallback option - if it fails fetching the icon from QAW Client, the fallback icon will be used.

Bug: 180959290
Test: atest

Change-Id: I56bdbef5b4d5d41abacb598422d8a2a4716a79fd
2021-03-18 05:43:58 +00:00
Lucy Chang
6d65ee195a Merge "Prompt notifications for non-accessibility services" into sc-dev 2021-03-18 05:38:07 +00:00
TreeHugger Robot
82e4d0ccb9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-18 05:34:22 +00:00
Janis Danisevskis
88b5e92973 Merge "Keystore 2.0: Enable by default." into sc-dev 2021-03-18 05:12:55 +00:00
Jason Hsu
39ed837f87 Merge "Update HTML description for Color correction" into sc-dev 2021-03-18 04:54:36 +00:00
Kevin Chyn
42968075d6 Biometric time-based resetLockout for multi-biometric devices
On devices with multiple sensors, lockout should be reset whenever
any strong sensor authenticates.

Bug: 163058911
Test: atest CtsBiometricsTestCases

Change-Id: I4bcdc0279cdaa444e59cf0fac6645d9a67e7d11d
2021-03-17 21:45:42 -07:00
Wei Sheng Shih
6397a19ee8 Merge "Do not add starting window after the starting data was cleared." into sc-dev 2021-03-18 04:38:20 +00:00
Remi NGUYEN VAN
fc97737b46 Merge "Add framework-connectivity.impl" am: 0fcb8d6db4 am: e2c7f0103e am: 954160f749
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635039

Change-Id: Ief30f77f949669d9b52ae3a6fe84f8db91179841
2021-03-18 04:36:38 +00:00
Treehugger Robot
d5bb2b058f [automerger skipped] Merge "Replace hidden CM#isNetworkSupported() usage" am: 976a18e914 am: 3ca15774bf am: 9d45145878 -s ours
am skip reason: skip tag Change-Id I713c6410fcf9543d54d9b0057ed7b2ecdab201ee with SHA-1 104cd7c155 is already in history

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

Change-Id: Ieeb8527d71fc4248ab3e26eb6d06754cf1ced6f5
2021-03-18 04:35:41 +00:00
TreeHugger Robot
da5e602a8d Merge "Added CarService Privileged permissions to xml files" into sc-dev 2021-03-18 04:32:59 +00:00