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
Fix references for local_include_dirs for aidl support.
BUG: 171106157
Test: Local build and TH
Merged-In: Ice516a0ab0819c4a076c394c05be1643461d4309
Change-Id: I3625bf1e262a031263d500b2c6129bf3c18cdeb2
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
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
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
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
- 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
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
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)