Update the dependency on KeyMint to v3. This is a stand-alone change
to avoid merge conflicts internally.
Bug: 244732345
Test: That it compiles
Change-Id: I1009bb902291396ef191e872b697181e98ff7324
This requires a version bump to android.media.audio.common.types.
cc_defaults and java_defaults are used in order to avoid explicitly updating version references in several Android.bp files when we do future version bumps.
Test: m
Merged-In: I481d4b4e7b4f1302d508ab6eb2c7ed4336a8f801
Change-Id: I481d4b4e7b4f1302d508ab6eb2c7ed4336a8f801
(cherry picked from commit 6088f4b7bb)
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ia6f216cc36ad0a5758f39fd9b34962cd4adf9d8e
This requires a version bump to android.media.audio.common.types.
cc_defaults and java_defaults are used in order to avoid explicitly updating version references in several Android.bp files when we do future version bumps.
Test: m
Change-Id: I481d4b4e7b4f1302d508ab6eb2c7ed4336a8f801
This API is not used: marked as @hide with a commented out @SystemApi;
the AIDL server is not implemented in AOSP nor internally. There is one
extra client from the SEPolicy: wpantund; but there is no build rule for
this binary, and no reference for it in AOSP. This API appears be an
artifact from the initial import of Android Things back in 2017.
I confirmed with the previous owners that there is no intention to use
this API in the future (see bug).
This changes reduces the size of framework.jar by 77kb on
bramble-userdebug.
Bug: 235018188
Test: TH
Change-Id: Id66f5ed23ed26c7185f36454f168e34997be3f8f
Merged-In: Id66f5ed23ed26c7185f36454f168e34997be3f8f
(cherry picked from commit 7640656825)
The cameraserver has a need for attributing connect calls to particular
processes. This patch introduces pids as a property of an
AttributionSource.
Test: Smoke test on cuttlefish
Bug: 190657833
Bug: 199526514
Change-Id: I6cdffed62447bbb741290dd9c2e5937254d02e3c
This API is not used: marked as @hide with a commented out @SystemApi;
the AIDL server is not implemented in AOSP nor internally. There is one
extra client from the SEPolicy: wpantund; but there is no build rule for
this binary, and no reference for it in AOSP. This API appears be an
artifact from the initial import of Android Things back in 2017.
I confirmed with the previous owners that there is no intention to use
this API in the future (see bug).
This changes reduces the size of framework.jar by 77kb on
bramble-userdebug.
Bug: 235018188
Test: TH
Change-Id: Id66f5ed23ed26c7185f36454f168e34997be3f8f
This was done via the hard-coded list in build/soong.
Bug: 158059172
Test: m
Merged-In: Ie6dc1f59b459ec01605d796a4d81be04bc1d07da
Change-Id: Ie6dc1f59b459ec01605d796a4d81be04bc1d07da
The checks in BinderIdentityTokenChecker are implemented in
AndroidFrameworkLintChecker in frameworks/base/tools/lint.
Bug: 157626959
Test: atest error_prone_android_framework_test
Test: m framework-minus-apex
Change-Id: Iac9128dbc7e915a12080e41a66d19f9390e4b58a
APIs working in the system_server and taking the package name as a
parameter may have chance to reveal package existence status on the
device, and break the package visibility we introduced in Android 11.
Take an example of the API: `boolean setFoo(String packageName)`, a
malicious app may have chance to detect package existence state on the
device from the result of the API, if there is no package visibility
filtering rule or uid identify checks applying to the parameter of the
package name.
To resolve the lint warning, you could apply package visibility
filtering rules to the package name via
PackageManagerInternal.filterAppAccess API, before starting to use the
package name. If the parameter is a calling package name, using the
PackageManager API such as PackageManager.getPackagesForUid to verify
the calling identify.
Bug: 228274845
Test: atest AndroidFrameworkLintCheckerTest --host
Change-Id: I30ef6a184545d4704de8d26c7b1b62abb543c9d1
This is currently a recurring issue every new Android release as a few of
our apps will be targeting new platforms and they also get installed on
devices running older SDKs.
This change only changes behaviour for APK in apexes.
Test: atest com.android.server.pm.parsing.PackageParserLegacyCoreTest
Bug: 208239394
Merged-In: If1195c8ec39ac88a605e25dfb1c78d49a5aa3e7c
Change-Id: If1195c8ec39ac88a605e25dfb1c78d49a5aa3e7c
This is currently a recurring issue every new Android release as a few of
our apps will be targeting new platforms and they also get installed on
devices running older SDKs.
This change only changes behaviour for APK in apexes.
Test: atest com.android.server.pm.parsing.PackageParserLegacyCoreTest
Bug: 208239394
Change-Id: If1195c8ec39ac88a605e25dfb1c78d49a5aa3e7c
connectivity-tiramisu-sources filegroup in the framework-t and service
folder is useless after moving all source files to updatable-sources
filegroup, delete them from f/b.
Bug: 210586283
Test: m
Merged-In: I2209df4b6f0b4daddc640fc4126ba89601df2c2b
Change-Id: If304e989c668cd816483647a9291968f2f15435d
connectivity-tiramisu-sources filegroup in the framework-t and service
folder is useless after moving all source files to updatable-sources
filegroup, delete them from f/b.
Bug: 210586283
Test: m
Change-Id: I2209df4b6f0b4daddc640fc4126ba89601df2c2b
As per the TODO, the aidl-export directory was moved to
packages/modules/Connectivity/framework.
Bug: 222234190
Test: TH
Merged-In: I399d2bb259d50916c575e59621ddfaf798affc5c
Change-Id: I5d77a9b0acf8e47c3bed144c735440b5593d7ae1
As per the TODO, the aidl-export directory was moved to
packages/modules/Connectivity/framework.
Bug: 222234190
Test: TH
Merged-In: I4c8f84b5b7df057b30ce334a99ce4ce975080020
Change-Id: Ie05f6ffec77e5f2eb7f68a21a33fac6936fe3018
As per the TODO, the aidl-export directory was moved to
packages/modules/Connectivity/framework.
Bug: 222234190
Test: TH
Merged-In: I4c8f84b5b7df057b30ce334a99ce4ce975080020
Change-Id: Ie05f6ffec77e5f2eb7f68a21a33fac6936fe3018