| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Bug: 255901351
Test: m fontchain_lint
Change-Id: If60de61504188a7222e2efa67705b8bf4400dbda
Merged-In: If60de61504188a7222e2efa67705b8bf4400dbda
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix "'when' expression must be exhaustive" and UNEXPECTED_SAFE_CALL
errors.
Bug: 216136346
Test: m checkbuild
Change-Id: I2c1b1f7581426496f31198896c4ff3bd9abf2941
(cherry picked from commit 64acfee25d5d38d92267238a7847cccfccd2e829)
Merged-In: I2c1b1f7581426496f31198896c4ff3bd9abf2941
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some olders kernels don't yet support HID_PLAYSTATION. While they are
working on supporting this driver, provide this temporary solution.
Before this patch, if the key layout is loaded, but there is no
HID_PLAYSTATION, then the mappings on the device will be incorrect.
With this patch, this key layout will not be loaded unless there is a
CONFIG_HID_PLAYSTATION enabled on the device.
Instead, when the main layout cannot be loaded, we make another attempt
to load a fallback layout. This way, the mappings on DualSense can be
correct even if the HID_PLAYSTATION module is not loaded.
In this CL, the fallback layout was tested using controllerTester.
Bug: 228005926
Test: tested mappings with a DualSense controller on a device that does
not have CONFIG_HID_PLAYSTATION
Change-Id: I7e46ae1943cd2c63b8c0b03fdf5d71adeea89f6f
|
| |
|
|
|
|
|
|
|
|
| |
Add the scaffolding for teaching the package parser to reject a package
if its manifest specifies a set of prefixes, and the device fingerprint
does not start with one of the prefixes.
Bug: b/232475788
Test: m
Change-Id: I9f3f3d3ad96332d2d65fbf6f58c7ce35992bcd7e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c90f42c80fc9472ad1b46402672c0444b0365f49.
Reason for revert: Introduces the escaping *into the APKs*; as mentioned in b/140373430#comment3 the Right Way to dump XML is via textproto.
Fix: 222745626
Bug: 140373430
Change-Id: I775b8a304e76a83934c36886c17cf23560914d21
Merged-In: I775b8a304e76a83934c36886c17cf23560914d21
(cherry picked from commit 27e9a4a85fe74bf13614396bb681967b53924f90)
|
| |
|
|
|
|
|
|
| |
Set current API level
Test: Build and boot
Bug: 225745567
Change-Id: If135d9795e812cc286c720b9351eaf6be621fd5b
|
| |
|
|
|
|
|
|
| |
Removed deprecated at birth APIs
Test: build and boot
Bug: 225745567
Change-Id: I8a40f4a08e521a7c9632d7652ff1f51fb137b34d
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
88a6b630aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2059569
Change-Id: Ice3324baec83320357de3bb38e22ec144f8c8f8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2059569
Change-Id: I789294f78d144121a9d9336cf922b803a6b47458
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make it executable, make it work with python3.
Bug: 228451704
Test: $ m api_txt dist
$ PREVIOUS_API=prebuilts/sdk/##
$ for api in $(ls -1 out/dist/apistubs/android); do
frameworks/base/tools/apilint/deprecated_at_birth.py \
out/dist/apistubs/android/$api/api/ \
${PREVIOUS_API}/$api/api/
done
Change-Id: Ib0eda541be68b0b21ae0dea3f51a82b44f7f9e7c
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: ccd8e91bf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2037107
Change-Id: I23fd8af293fc5acd7748294d6cb61289565b8c1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2037107
Change-Id: I6d4221ca092ff126676c3f93925c83268a339506
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Soong's cc support for protos is inconsistent, it adds a dependency on
lite proto library is proto.type is unspecified, but builds as full.
Update aapt2 to explicitly build full protos rather than rely on
Soong's inconsistent defaulting of proto.type
Test: CI
Change-Id: I5600d04c7ac32a04fd2b230912e02280a3874812
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052132
Change-Id: I27b00e66ce73673d6add6d74a78b6eff0639b1b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052132
Change-Id: I9d78eb2f88f9ed97a36d6757744b4406435d3853
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ |
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 151177513
Bug: 213388645
Bug: 210912771
Test: m droid dist reportmissinglicenses
Change-Id: I1982a50b33924a051d7cfcdf18dd1f0f00fa1c0f
|
| | |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
* changes:
Fixup OWNERS file merge conflicts.
Merge Android 12 QPR3 ab/8391262
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
e210ca9e34
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052076
Change-Id: I4669a3e8ffd72d7591d4c6713942072f998b82f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |\| | |
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052076
Change-Id: I386d9460938f2045d41b0c6c19902d0a16fdca4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Would have been very useful to avoid http://b/227682097
Bug: 227682097
Test: m apexer apexer_test deapexer debugfs_static; atest --host apexer_test
Change-Id: I24234d053a06868493831d40f94f7e46956391a1
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 226676748
Test: Confirmed that the updated fontchain lint fails on the COLR font w/o PUA and passes once added
Change-Id: If831ed689ce80f26564279c6a6243cedddc56c36
|
| |\| |
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2016115
Change-Id: I556bf78799ec0fcd9d32eb16a2bd7a023ab5c7fd
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2016115
Change-Id: I1b81166403e4b751f10e783208a3e6483d74b7e3
|
| | | |\ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 194725917
Bug: 221938918
Test: Forrest build.
Change-Id: Ia3429287588acc1e0784dc1fd74f9e60d2c9c6d9
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3e53e056ee am: 152a78bd50
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2016118
Change-Id: I7c3f2585e9ca6d4d488fe47b765d5730a5390988
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3e53e056ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2016118
Change-Id: If83cc7c52c09e0a226e759755e60ccc9a3412951
|
| | | |\| |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This tool rewrites the bytecode in the designated JAR files to produce
tracing calls on enter and exit, while making sure to close the tracing
span even on exceptions being thrown.
The idea is mostly to reduce the amount of noise within methods when
just trying to add some tracing.
Test: atest --host TraceInjectionTests
Change-Id: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e
Merged-In: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ee415b6dd4 am: 0465454af5 am: 8927c1f94e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2019598
Change-Id: I33e43c2b80acf35e7f9790d82c98d38bf2134697
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ee415b6dd4 am: 0465454af5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2019598
Change-Id: Id281761e429d0876969bd0150fc9ca0356a7dcd6
|
| | | |\ \ |
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For convenience, builds against musl libc currently use the
linux_glibc properties because they are almost always linux-specific
and not glibc-specific. In preparation for removing this hack,
tweak the linux_glibc properties by either moving them to host_linux,
which will apply to linux_glibc, linux_musl and linux_bionic, or
by setting appropriate musl or linux_musl properties. Properties
that must not be repeated while musl uses linux_musl and also still
uses the linux_glibc properties are moved to glibc properties, which
don't apply to musl. Whether these stay as glibc properties or get
moved back to linux_glibc later once the musl hack is removed is TBD.
Bug: 223257095
Test: m checkbuild
Test: m USE_HOST_MUSL=true host-native
Change-Id: I7058c8f1dadd7bbfd7e169bdf0a0441eb6d10ec5
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
03ae92e5f3 am: 415ef94f27
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2007761
Change-Id: Icc88f0ec3f01e5335b944e5dc42cce04c6460a09
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2007761
Change-Id: I61b618c2da21a65597e0b9b1d39d3751742f9be5
|
| | | |\ \
| | | |/
| | |/| |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
JDK 17 no longer allows access to com.sun.tools.javac.code by default,
use the public APIs instead.
Bug: 219098645
Test: m checkbuild
Change-Id: If379935cc4ab9e5c809cc9fbfccbacfd8d87e8c8
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Includes instructions on how to expose new public resource IDs
and how to "remove" unused resource IDs before finalization.
Temporarily restricts OWNERS to ensure T remains stable until
a long term static analysis solution is found.
Fixes the script for finalization to handle split files and
seed the next release's staging-public-group blocks.
Bug: 222537368
Test: manual, checked build before and after mock finalization
Change-Id: I901a80e487f5eaab9689f469196648535857e0e1
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ignores and increments the ID if the entry contains removed_, to prevent
shifting IDs by leaving a hole, allowing staging resources to be removed
before finalization.
This was broken out from the parent change to allow other CLs fixing the
resource IDs to be merged without splitting public.xml.
Bug: 222537368
Test: manual, see bug for other changes
Change-Id: I56f4fd70824bd42ec62f4fa0a2f067e2a3c094b5
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 222362958
Test: Manually verified Flutter Gallary shows emoji.
Test: atest CtsTextTestCases CtsGraphicsTestCases
Test: atest FontListParserTest
Change-Id: If5b5ddfb6d0d46cfb8d27cf66843ae95d4b50e03
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4bbbeefb86
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150
Change-Id: I77148fda55942a07c075472979cdc508b983d0a5
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150
Change-Id: Iecbcf9eeea01ce03308c546cd804e06743154998
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150
Change-Id: I0039b269359efb08090b5f7ae8cc5da77bcf6150
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was available for unbundled builds when the build rules were in mk form and aapt2 is enabled for unbundled, so there's not a strong reason why aapt should be disabled for unbundled build
Change-Id: I6589eafbe8d2e423c9ac925b3614763fa6a511ac
Fixes: 217747798
Test: local compile
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5fdccc4578
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995590
Change-Id: I0afc27ac42bd9c2a1d604a5f6915159bdcad9c99
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995590
Change-Id: Ia9ce5f63427a3ec9fdf92be93bd54b1f6be5f14f
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995590
Change-Id: I5524e43b77097f1bf2c7ac34c877a961cf61b5ad
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It seems the behavior of strdup is undefined when NULL is passed in.
Clang's static analyzer complains about this:
> frameworks/base/tools/bit/command.cpp:195:25: warning: Null pointer
passed to 1st parameter expecting 'nonnull'
[clang-analyzer-core.NonNullParamChecker]
Since we don't seem to care about malloc failures (which is a good thing
IMO), adding a second check for the successful completion of `strdup`
seems pointless.
Bug: 206470603
Test: TreeHugger
Change-Id: Ib621659e6fb600203694974f02d96ba0acb3362f
|