Commit Graph

661233 Commits

Author SHA1 Message Date
Lorenzo Colitti
ea9b16facf Get system_notification_accent_color from public resources.
LockdownVpnTracker gets system_notification_accent_color from
com.android.internal.R. This is not stable across releases, so it
can crash ConnectivityCoverageTests when run on older releases.

Use the system API constant instead, since that is guaranteeed to
be stable. The constant was added in ag/5795405.

Test: atest ConnectivityCoverageTests
Change-Id: I956f9fac4b89cf8429bf46682b52c0203cc4210e
2022-02-21 15:56:07 +09:00
Anton Hansson
dad3c928d8 Merge "Generate an api-versions.xml from stubs jar" 2022-02-18 15:38:12 +00:00
Pablo Gamito
07dee30e0c Merge changes I9881453b,I57fa88c6
* changes:
  Don't set background color if TDA doesn't have a valid surface
  Use TDA for background color instead of new color layer
2022-02-18 01:46:40 +00:00
Yurii Zubrytskyi
871327e261 Merge "idmap2: Remove redundant "using" statements" 2022-02-17 23:41:22 +00:00
Meng Wang
93a4ac7070 Merge "5G opportunistic data config per-band." 2022-02-17 21:53:32 +00:00
Sam Gilbert
65ef5b4d8c Merge "Disable ChangedThrows" 2022-02-17 19:04:02 +00:00
Baligh Uddin
8aa8ce4f91 Merge "Remove apex/media - migrated to packages/modules/Media" 2022-02-17 18:59:06 +00:00
Yi Kong
b0981d9287 idmap2: Remove redundant "using" statements
They are already under the same namespace.

Test: presubmit
Bug: 219872355
Change-Id: Ie09d529bc9d9f690feb5dba16fe174b89a14ee08
2022-02-17 17:53:42 +00:00
Baligh Uddin
235f9b1078 Remove apex/media - migrated to packages/modules/Media
Fix references for local_include_dirs for aidl support.

BUG: 171106157
Test: Local build and TH
Merged-In: Ice516a0ab0819c4a076c394c05be1643461d4309
Change-Id: I3625bf1e262a031263d500b2c6129bf3c18cdeb2
2022-02-17 16:01:56 +00:00
Sam Gilbert
4d6f55f9c1 Disable ChangedThrows
Bug: 217545629
Test: build passes
Change-Id: I6cf1fe48f81c414f9709ddf7b117108de4028f22
2022-02-17 10:36:16 -05:00
Treehugger Robot
d3b8608d23 Merge "Create OWNERS file for settingslib/devicestate" 2022-02-17 12:34:35 +00:00
Anton Hansson
36bc27cb47 Generate an api-versions.xml from stubs jar
The current api-versions.xml shipped in the SDK and used internally in
the android build system is generated by the framework-doc-stubs target.

This CL adds a new target that generates an (almost) equivalent database
in a different way. There are a few upshots of using this method to
generate them:
- using the framework-doc-stubs target is inefficient. It runs late in
  the build but also takes a long time, extending the critical path of
  the modules that depend on api-versions.xml
- the framework-doc-system-stubs target is using module sources as
  input, which is desireable to avoid because we want to separate
  module sources from the rest of the platform.

Bug: 187398174
Bug: 186197911
Test: m api_versions_{public,system} && diff with "originals"
Change-Id: I8adab94ee7ca0bee4fc0be8d99f1125360387d89
2022-02-17 12:27:49 +00:00
Meng Wang
84b8cd1168 5G opportunistic data config per-band.
Bug: 200629485
Test: make
Change-Id: I4c6ab1febcf12c6a7e2ab3364bb720e81c58dae7
2022-02-17 00:23:44 +00:00
Treehugger Robot
2a491d487f Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" 2022-02-16 22:54:36 +00:00
Rahul Sabnis
2eebe9a0bc Merge "Remove hidden Bluetooth dependencies" 2022-02-16 22:31:57 +00:00
William Escande
b72b351d21 Merge "Remove intdef usage that block bluetooth apex" 2022-02-16 22:13:09 +00:00
Benedict Wong
0b957a2f89 Merge "Add type string to VCN NetworkAgentConfig" 2022-02-16 21:00:36 +00:00
Patrick Rohr
9ee2d46a8c Merge "Replace qtaguid_deleteTagData with java implementation" 2022-02-16 19:59:14 +00:00
Benedict Wong
37a6ef1cd6 Add type string to VCN NetworkAgentConfig
This change populates the VCN type string used in NetworkInfo. While
the NetworkInfo API has long been deprecated, some apps apparently still
use this API. Even more unusually, some apps use the NetworkInfo's type
strings, and perform string comparisons on the type string, as opposed
to the type integer/enums to determine network types.

This change ensures maximum backward compatibility.

Bug: 219287843
Test: atest FrameworksVcnTests
Change-Id: I059dbc997f97482f7355fdc29d464d5452933ce3
2022-02-16 19:06:16 +00:00
William Escande
b87c56fb3b Remove hidden Bluetooth dependencies
Bug: 217736913
Test: pre-submit
Change-Id: Id5d8ac79f773d29fd2200ed336872067cddfa276
2022-02-16 20:03:47 +01:00
William Escande
a877bd488f Remove intdef usage that block bluetooth apex
Test: pre-submit
Change-Id: I932cea4b02bbc8e43d5d373ba2a3305322032104
Bug: 217736913
2022-02-16 17:15:06 +01:00
Jared Duke
478baf2287 Merge "Restrict optional system_server optimizations to shrinking" 2022-02-16 15:55:57 +00:00
Eran Messeri
b2f12f933a Merge "Upgrade KeyMint version" 2022-02-16 15:28:18 +00:00
Treehugger Robot
5870ba5ace Merge "Fix grammar nit in comment." 2022-02-16 14:53:08 +00:00
Eran Messeri
6c41bcee6f Upgrade KeyMint version
This is a cherry-pick of a change to internal master to upgrade the
KeyMint version.

The cherry-pick is necessary because the changes to support Curve
25519 will land in AOSP and there are currently merge conflicts for
Android.bp with internal master.

Bug: 194359292
Test: That it compiles.
Merged-In: I95191fd09b138bf3ba1cbb50534fdbdcf36d1596
Change-Id: Ibbd2f1ddd71ad855e26d59f72633c47351320ce6
2022-02-16 11:16:15 +00:00
Jimmy Chen
6d7c9fa967 p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests
Wi-Fi Direct external approver APIs require MANAGE_WIFI_AUTO_JOIN
permission and CTS tests need to use Shell to invoke these
privelege APIs.

Bug: 218166551
Bug: 159038892
Test: atest ConcurrencyTest
Change-Id: Ia5c1c749e38fe94992c6364d0fd6117707834eb5
2022-02-16 12:00:16 +08:00
Treehugger Robot
b681fec035 Merge "Fix handling usb notification after pr_swap complete" 2022-02-16 03:54:18 +00:00
Baligh Uddin
c6bdeea3cf Merge "Prepare to extract apex/media to packages/modules/Media" 2022-02-16 03:35:06 +00:00
Joanne Chung
e96070ac89 Merge "Update team OWNERS file." 2022-02-16 02:03:49 +00:00
Baligh Uddin
8a55a7b439 Prepare to extract apex/media to packages/modules/Media
- Use Android-Apache-2.0 as default license.

- Adding visibility to non-existing path is there for post-migration
  path [ which currently does not exist ] -- it is not a build error
  to add non-existent paths to visibility.

BUG: 171106157
Test: Local build and TH
Change-Id: I4adea9da4df8f6ae51b9849dfd6a30bf22e28637
2022-02-16 01:43:07 +00:00
Jared Duke
ea03d1067b Restrict optional system_server optimizations to shrinking
For the initial rollout of system_server R8 optimizations, we will
only apply code shrinking. This avoids the need for retracing in core
developer workflows, while providing modest benefits through code
shrinking.

Shrinking is still enabled in an opt-in basis for specific devices
via `SYSTEM_OPTIMIZE_JAVA=true`.

Bug: 210510433
Test: m SYSTEM_OPTIMIZE_JAVA=true
Change-Id: Ie9fb8138afd0cc60799e3154c709630a947968c0
2022-02-15 13:57:06 -08:00
Jon Eckenrode
08bb407612 Merge "Revised API documentation of Context and ServiceConnection. See b/213625234." 2022-02-15 21:47:29 +00:00
Treehugger Robot
66660a1a4e Merge "Explicitly mark receivers as RECEIVER_NOT_EXPORTED" 2022-02-15 18:30:42 +00:00
Treehugger Robot
e1ce0243a3 Merge "Fix registerListener documentation bug in which the notice does not contain the notice contents." 2022-02-15 15:20:12 +00:00
Pablo Gamito
abfad13cdb Don't set background color if TDA doesn't have a valid surface
This is something that sometimes occurs in tests since the detaching of the TDA in not necesseraily synchronized with animations

Test: atest CtsWindowManagerDeviceTestCases:MultiDisplaySystemDecorationTests
Bug: 207667555
Bug: 209936970
Merged-In: I9881453ba14cba4f219861ec4449f2baa8058b57
Change-Id: I9881453ba14cba4f219861ec4449f2baa8058b57
(cherry picked from commit e644ff6102)
2022-02-15 12:10:59 +01:00
Pablo Gamito
f9cb787e8a Use TDA for background color instead of new color layer
Bug: 205274345
Bug: 202856837
Bug: 203567491
Bug: 209936970
Test: Run task animations and make sure background color shows
Merged-In: I57fa88c6f45adca9e3301b39e868bd127644b76f
Change-Id: I57fa88c6f45adca9e3301b39e868bd127644b76f
(cherry picked from commit 93850bd00d)
2022-02-15 12:10:46 +01:00
Dereck Bridie
a24c4e8072 Fix registerListener documentation bug in which the notice does not contain the notice contents.
Change-Id: Ia123d583c0f4464b935751e1f389b3998a60d006
2022-02-15 09:34:19 +00:00
Eric Zhang
5a700f759d Merge "Change ownership of resumeonreboot module." 2022-02-15 06:42:46 +00:00
Bob Badour
d52dd08acb Merge "Declare license metadata for copied files." 2022-02-15 05:13:49 +00:00
Treehugger Robot
e93cdcd163 Merge "Move permissions allowlist for Tethering" 2022-02-15 04:43:27 +00:00
Hyunho Shin
cb2d34eeef Merge "Add entity uri field to Eab provider" 2022-02-15 00:35:58 +00:00
Bob Badour
c92e5a22db Declare license metadata for copied files.
Bug: 151177513

Test: m all dist reportmissinglicenses

Change-Id: I1ca40c2f26633f23583ac4af10437503f458c4d2
2022-02-14 12:42:52 -08:00
Eric Zhang
3e56fc6c5e Change ownership of resumeonreboot module.
Bug: N/A
Test: N/A
Change-Id: I014452eebfd73767549bb233ccace0655adc57dd
2022-02-14 20:20:50 +00:00
Rambo Wang
7013bca07a Merge "Protect SID and NID in ServiceState with coarse location permission" 2022-02-14 20:03:48 +00:00
Treehugger Robot
5a3337e077 Merge "OWNERS for widget coretests" 2022-02-14 17:09:18 +00:00
Treehugger Robot
d78c0842df Merge "Fix cert-dcl16-c warnings" 2022-02-14 16:37:57 +00:00
Treehugger Robot
5ec4a12947 Merge "Add OWNERS entries for Android time team" 2022-02-14 15:01:49 +00:00
Treehugger Robot
56d6691e8e Merge "Add null check after getApplicationInfo in InstantAppNotifier" 2022-02-14 14:04:08 +00:00
Nicolas Geoffray
e032bc4139 Merge "Call the right JNI helper." 2022-02-14 12:17:37 +00:00
Artur Satayev
19c5ee8bf1 Merge "Use ro.build.version.known_codenames sysprop for KNOWN_CODENAMES." 2022-02-14 12:08:04 +00:00