Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add geocoding provider for all handleld devices. #67

Draft
wants to merge 46 commits into
base: 15
Choose a base branch
from

Conversation

thestinger and others added 30 commits December 6, 2024 09:48
Squashed with:
Author: quh4gko8 <[email protected]>
Date:   Wed Mar 6 09:19:14 2024 +0000

    Use a different target name for GrapheneOS' PdfViewer

    AOSP uses "PdfViewer" as target name for its own pdf viewer app.
this fixes the style inconsistencies in sud components being used in
non-setup flow
These packages are included only on userdebug/eng builds.
It's needed for factory image optimization.
The previous default target sdk_phone_x86_64 has been removed upstream.
This is currently incompatible with exec-based spawning. This also
impacts the wrapper spawning model for the stock OS which is available
by default, making it an upstream bug rather than a missing feature for
exec-based spawning in GrapheneOS.
Compressed APEXes are unpacked into /data/apex/decompressed before being mounted.
When APEXes aren't updated out-of-band, this unnecessarily weakens verified boot and wastes storage space.
On GrapheneOS, APEXes are not updated out-of-band.

For more details, see https://source.android.com/docs/core/ota/apex#compressed-apex
muhomorr and others added 15 commits December 6, 2024 10:23
If there's exactly one "vendor/*/$PRODUCT/cmds-for-envsetup.sh" file, source it at the early
stage of lunch/choosecombo command.

This allows to define extra product-specific variables before the product makefile is parsed, which
happens quite late.
PLATFORM_SECURITY_PATCH can already be overridden with a global variable, but using per-product
variable is less error-prone.
Android Studio for Platform hardcodes `source build/envsetup.sh`.

For script/envsetup.sh history, see
https://github.com/GrapheneOS/script/commits/2023090600/envsetup.sh

Squashed with:
Author: quh4gko8 <[email protected]>
Date:   Mon Nov 6 16:40:17 2023 +0000

    Take OUT_DIR environment variable into account instead of hardwiring to out dir
The system_other image is gone after the first update and the OS ends up
needing to compile the code for these apps as part of performing each OS
update. GrapheneOS doesn't use JIT compilation and the AOT compilation
isn't guided by JIT profiles so this ends up using the same amount of
space and doing a bunch of unnecessary work on each device. It also
reduces the scope of verified boot by having the compiled odex code for
base system apps outside of the verified system partition.
otapreopt is currently broken, which massively slows down post-OTA boot when there's a large amount
of optimizable code in user apps.

Compilation with the "speed" compiler filter is now performed asynchronously, after boot.

Most of the system packages are not affected by this change, since they use dexpreopted code from
the system image.
It's 1 by default.

Testing showed that boot-after-ota time is reduced almost by half for the same number of packages
(from 4:40 to 2:34, around 100 packages).
This fixes an occasional issue where the navbar is in a broken state
(gesture nav works, but the bar is rendered as if it's 2/3-button nav)
after wiping data or provisioning new users.

From Danny Lin <[email protected]> in ProtonAOSP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants