Reserving 8MB does not guarantee that free blocks will be >= 1%, so not
only this doesn't work properly, but also breaks builds for some
devices.
This reverts commit 3940fb4240.
Test: breakfast kebab && WITH_GMS=true m
Change-Id: I330570dc6fc9efca5629358a0b149f131d36ba18
This reverts commit bc8d7739ac.
Reason for revert: no longer needed when using blobs that match tag
DISPLAY.LA.3.0.r1-10700-KAILUA.0.
Change-Id: Ia89ce566a4cade6091a2dc6bc4e8b56ef7d1f73b
* When we remount partitions via `adb remount`, a scratch partition
is made for overlayfs to use - this takes up space and breaks OTA.
The end user /could/ run this to fix it:
`adb reboot fastboot && fastboot delete-logical-partition scratch && fastboot reboot`
But that's bad UX, remount should work. This ensures that with or without GMS,
we reserve some space on all dynamic partitions.
* Set amount to `8 * 1024 * 1024` + 1 for good measure.
* Don't reserve this amount of `-user` builds as we don't remount
there.
Change-Id: I969aea92747a17ceca299e109c6e0ab563951374
This was set to true by default prior to U QPR2.
Test: Open settings and notice that dual pane layout is back
Change-Id: Ide44ecbe7e30d6bf26d9c9358e46c71b35c66250
Similar to SimpleDeviceConfig, this allows devices to initialize options
in the normal settings storage.
Change-Id: I58ae47dc21b0d85ac1ec01afda187820919fef7f
Emulator (cuttlefish) is inherited and sets default sound properties,
which conflict at build time with Lineage defaults, breaking `car_gsi`
targets.
Change-Id: I3fb099a77394f8eb4613445c2410d7f568b8a3f5
The global actions overlay cannot be controlled by a controller, so
should not be available on atv.
Change-Id: I1849d8f07abd1794ab613368354dadebd88331c8
(cherry picked from commit 00311ddb04cef25418ba03bc561bee65d4158704)
Customizations from LineageParts do not apply here and SetupWizard
is forcibly skipped anyway as device first boots in already provisioned
status.
Change-Id: Ic85fa59f58729d67f28d1dbe9191868bc1eb70a5
Should be done in the device trees, like Google does and all devices
that we support with different build types (mobile and ATV).
The only requirement is to call the makefile before vendor/lineage one
so that PRODUCT_IS_AUTOMOTIVE is set before inheriting from Lineage
common stuff. That allows to skip some undesired package if needed
without having to move those out from common makefile and duplicate
into common_car and common_tv makefiles.
Change-Id: Id663f48f3d484f415ff04869c52073fbc6b87148
This skips partner_* for some unfortunate devices where someone set
GMS_MAKEFILE/MAINLINE_MODULES_MAKEFILE.
Change-Id: Idadd7a5df315a3792237181b5c277d40d1bd1431
Current logic defaults to no gcc if kernel major version is greater than
or equal to 5 and kernel minor version is greater than or equal to 10.
Meaning kernel version 6.1 does not qualify because 1 is less than 10.
So additionally check if kernel major version is greater than or equal
to 6 and ignore minor version for that case.
Change-Id: Id72cb9e100c6fed014d696f4a3a88f6cafcd3932
Trebuchet is added to PRODUCT_PACKAGES in common_mobile makefile,
so place it there because it's useless to include it on ATV targets.
Change-Id: Ia6235f6ac0eede86e2fd8979c50bda3fa2e06615
This fixes the following warnings:
13:04:54 Disallowed PATH tool "pahole" used: []string{"pahole", "--version"}
13:04:54 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
"pahole" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
/home/bgcngm/android/lineage/kernel/oneplus/sm8550/scripts/pahole-flags.sh: 12: [: Illegal number:
/home/bgcngm/android/lineage/kernel/oneplus/sm8550/scripts/pahole-flags.sh: 16: [: Illegal number:
/home/bgcngm/android/lineage/kernel/oneplus/sm8550/scripts/pahole-flags.sh: 20: [: Illegal number:
Change-Id: Ice2a3753301a7b7782037fd35544e2831b258650