Commit graph

790 commits

Author SHA1 Message Date
LuK1337
eaa2614343
config: Ship EmergencyInfo on WiFi only tablets
Change-Id: I89e16f716076d5351949c0bb13f55fc4eaeee4f5
2024-02-17 18:31:40 +01:00
Timi Rautamäki
7dd2be50b1 Revert "overlay: Decommonize long press power action"
This reverts commit 5c5c497acd.

Change-Id: Iaaa9d1c2aa0704d2f09f7b979e08057f25b74e5c
2024-02-16 17:41:20 +00:00
Luofan Chen
bc8d7739ac Hookup SDMCORE_HAS_IS_DISPLAY_HW_AVAILABLE_FUNC
Change-Id: Icb4b8aebd8042e9f83bacddee1e7949cf373226d
2024-02-16 00:26:40 +00:00
LuK1337
8a7f230bda config: Build Glimpse
Change-Id: Id44fd41c05b5202c88c8ae4ca4958074268784af
2024-02-13 16:33:20 +00:00
Nolen Johnson
afb819d70c config: Move audio includes back to mobile
Emulator (cuttlefish) is inherited and sets default sound properties,
which conflict at build time with Lineage defaults, breaking `car_gsi`
targets.

Change-Id: I3fb099a77394f8eb4613445c2410d7f568b8a3f5
2024-02-12 17:14:39 +00:00
Aaron Kling
5c5c497acd overlay: Decommonize long press power action
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)
2024-02-11 20:39:28 +00:00
Nolen Johnson
68642ca994 lineage: partner_gms: Allow GMS that isn't partner
* Other inline packages rely on WITH_GMS for space reservations.

Change-Id: Iacc4b01a49f7d44f800faff7bb7072f239e38495
2024-02-08 07:25:59 +00:00
Bruno Martins
abe8aa5563 common: Dexpreopt CarSystemUI with the speed compiler filter
Change-Id: I191e718a4279d915a5c786c2f2067d6f73c223b3
2024-01-21 21:47:14 +00:00
Bruno Martins
24d1e5acb9 config: Commonize stuff based on PRODUCT_IS_* flag
Change-Id: Idfb6a08697bf232fdec47e9caa27754a27335d3d
2024-01-20 14:03:05 +00:00
Bruno Martins
0b72bc3e24 car: Include ExactCalculator and Jelly on Automotive builds
Change-Id: I659a2cd0afda1d7653eedb54016e16f831ff175a
2024-01-20 14:03:05 +00:00
Bruno Martins
603d17277b config: Do not ship Parts and SuW on Automotive builds
Customizations from LineageParts do not apply here and SetupWizard
is forcibly skipped anyway as device first boots in already provisioned
status.

Change-Id: Ic85fa59f58729d67f28d1dbe9191868bc1eb70a5
2024-01-20 14:02:57 +00:00
Bruno Martins
7cb63b9651 config/common_car: Remove car_product inheritance
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
2024-01-20 01:27:31 +00:00
Bruno Martins
1f1e4dbf6a partner_gms: PRODUCT_IS_AUTO -> PRODUCT_IS_AUTOMOTIVE
This is already defined by Google, so use it.

Change-Id: I049e88ee8eb3469c65f4fed09c844c7f3a240e4b
2024-01-20 01:27:31 +00:00
LuK1337
ebf86e1abe partner_gms: Skip makefile inclusion if vendor/partner_* doesn't exist
This skips partner_* for some unfortunate devices where someone set
GMS_MAKEFILE/MAINLINE_MODULES_MAKEFILE.

Change-Id: Idadd7a5df315a3792237181b5c277d40d1bd1431
2024-01-08 13:29:58 +01:00
Aaron Kling
d2d4e46340 kernel: Default to no gcc on kernel 6.x
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
2024-01-03 16:09:59 +00:00
Michael Bestas
2cd52ca80a
config: Allow forcing minimal/full reserved size
Change-Id: I7b3c258ad1597bb37bfc02aa8af80d12c0da198b
2023-12-13 03:16:22 +02:00
Michael Bestas
a9b655cc1c config: Introduce common dynamic partition reserved sizes
Change-Id: I29c7e8b439672f7ac13ac3264bd1ced5165a42ee
2023-12-03 22:06:37 +00:00
Arian
e7dac6855d
soong: Add qti vibrator effect stream config
Change-Id: I87b08a02f91a941d22dab5d1acb9bfbbce06f03b
2023-11-21 20:48:36 +02:00
Michael W
390362c844 config: CUSTOM_LOCALES: Add Friulian
Change-Id: I5dbcf5dff81fd7816b062662fdb94e21ddaea54a
2023-10-31 19:25:26 +00:00
Nolen Johnson
711cf14675 config: telephony: Advertise telephony support for GMS
Change-Id: Ic5063b0d5e60f8bc3846cc8a25c24e1abfa9df84
2023-10-29 19:27:54 +00:00
Bruno Martins
4fb9a76f06 lineage: Move all QCOM board configs to hardware/qcom-caf/common
Change-Id: I6ead35cf884255a8897a3e3e27fc7936d11be616
2023-10-27 14:25:29 +01:00
Michael Bestas
c290ff3f38 Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.

Change-Id: I4dd1d1890ad08364d5315386ab830ce9e0edd041
2023-10-20 12:57:46 +00:00
maxwen
00d34dd3bb soong: Follow the correct JSON syntax
wrong: CROSS_COMPILE=\\"/data4...
correct: CROSS_COMPILE=\"/data4...

Change-Id: I5080aef7feb2ec7429cb9ba1f4baccefa61a3cd3
2023-10-20 09:55:48 +01:00
basamaryan
110a25a2c8 config: Update clang version to clang-r487747c
* This is the default clang version for Android U release

Change-Id: I6a44012250470eeeb2e0f6993eb4e98308eec390
2023-10-20 09:55:48 +01:00
Michael Bestas
1f5ecee1c8 RIP Android Beam
Change-Id: Ia977097d40b7f0538f2b15d231e69f2fa22adc4c
2023-10-20 09:55:48 +01:00
Michael Bestas
b7f28608e5 LineageOS 21.0
Change-Id: Ibb75018049d2a0461a2b2fdccb509347c0d9834b
2023-10-20 09:55:48 +01:00
Bruno Martins
52d05dfff1 Revert "config: Opt-in for Go-variant of SystemUI on Go-enabled targets"
This reverts commit 303692b96e.

Turns out that ThemePicker force closes while using SystemUIGo.
Issue already reported: https://issuetracker.google.com/issues/303280734

Change-Id: I630328df7144c04159f746d3efe44ccaa64106bf
2023-10-17 20:32:24 +00:00
Rohit Sekhar
fea85da7e0 vendor/lineage: Hookup TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED
Change-Id: I67b87e98b65300df9a63ddd6d316ae4dd33ab427
2023-10-09 17:29:04 +00:00
LuK1337
589f0cad77 kernel: Use lz4 from Google prebuilts
Fixes: "lz4" is not allowed to be used.

Test: breakfast tangorpro && m bootimage
Change-Id: I62cfe131f457117cb3745b91f5e43c085e87b611
2023-10-06 09:37:51 +00:00
Bruno Martins
303692b96e config: Opt-in for Go-variant of SystemUI on Go-enabled targets
SystemUIGo is basically a wrapper to standard SystemUI.

Change-Id: Id8416d6b0ad98694074ef96b9506283aad0836c4
2023-10-03 23:19:29 +01:00
Bruno Martins
a4c44269e7 config: Move TrebuchetOverlay to common_mobile
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
2023-10-03 23:19:29 +01:00
Bruno Martins
b7a552dafd config: Add LineageOS specific languages via CUSTOM_LOCALES
Change-Id: If9a8caad7a07ae1c133e0d05c71a8cacc64de92e
2023-10-03 11:42:59 +01:00
Bruno Martins
ef55e61809 config: Exclude window_extensions addon on mini_tablet
Change-Id: If55a17561f62208ea78e1b561aa8d27c91967e87
2023-09-30 11:09:30 +01:00
HeroBuxx
147545ac48 qcom: Add parrot platform
Change-Id: I86a34553c71688c1bb8b8583b161e59cffbfd623
Signed-off-by: HeroBuxx <me@herobuxx.me>
2023-09-26 20:33:22 +00:00
Bruno Martins
231338af58 kernel: Use pahole from Google prebuilts
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
2023-09-19 16:17:27 +01:00
LuK1337
eb934e66c4 kernel: Don't try to do math on empty kernel version
Fixes the following error message when compiling target w/o kernel src:
expr: syntax error: unexpected argument ‘5’

Test: lunch lineage_sdk_phone_x86_64-eng
Change-Id: Ib3ec41d9dc2b59ddc9ee3c0c8e3813c4defcfc3e
2023-08-01 20:04:09 +02:00
Nolen Johnson
9d0a2f2271 lineage: config: Allow devices without Cameras to opt-out of Aperture
Change-Id: I6feb538153b13cd1825f37ee7a45ebb046b12ec0
2023-07-30 08:52:38 +02:00
Bruno Martins
5c77946246 qcom: Prepare for non-legacy dataservices
All platforms prior to kalama must use the old rmnet_data driver.

Change-Id: I1dd5e25cdac35bf0e95da004763f58e5590c94ad
2023-07-27 22:54:25 +02:00
Bruno Martins
fa1664c6dc qcom: Use full QTI gralloc struct for GKI 2.0 targets
Let it still be overridable, just in case.

Change-Id: I2901c84c2c616672ca94cc88264ae3667791e846
2023-07-27 16:00:50 +01:00
Bruno Martins
c3dda454e3 Hookup GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.

So far only GRALLOC_HANDLE_HAS_RESERVED_SIZE was hooked up
for Google Pixels, but it's now time to hook up the remaining flag.

Change-Id: I175bd328bd9733b9487e349f7a8486f15ef0a450
2023-07-25 18:14:17 +02:00
Bruno Martins
8bbb7d90b6 qcom: Add support for kalama platform
Change-Id: I393c3c1ca398b5b34d7b9d8a76ccdf8af329957c
2023-07-25 18:14:17 +02:00
nift4
da5e531ac3 Revert "Revert "config: Build NavigationBarMode2ButtonOverlay""
* Fixed regression in Trebuchet

This reverts commit 5ae7551a20.

Change-Id: I46a0d1d9bd25f20b333c51a76d96e5c695895983
2023-07-25 11:58:08 +02:00
Michael Bestas
4768246a43
config: Allow overriding ro.support_one_handed_mode
Pixel Fold disables this

Change-Id: Ia5a369d75a356800ea8792fe290094ec99b4ad64
2023-07-10 20:27:29 +03:00
Bruno Martins
0415cfd127 config: Let mini be really minimal
Move some apps from common_mobile to common_full,
so that devices inheriting from common_mini don't
ship with all the apps.

Example usecase: "tablet-like" device that inherits from
common_mini_tablet_wifionly and has no camera support.

Change-Id: I723e413b0e5b43fee9011c6b55dcbc303e811c44
2023-07-09 13:13:08 +01:00
Nolen Johnson
322d62e1f5 fixup! config: Move IAntiFlicker to fqname
Change-Id: I7198a27cbf4a46b9ea009df4b02830fa1c94d278
2023-06-23 19:10:02 +02:00
LuK1337
0b81f4020e soong: Add aapt_version_code default
This appends `--version_code=$(date -u +%Y%m%d)` to aapt flags, which is
useful for flushing some caches upon system updates.

Change-Id: I6575b878f09c1c3138e12abc34d39405f51245e7
2023-06-22 20:06:00 +02:00
Michael Bestas
fd6859f6c7
config: Move IAntiFlicker to fqname
Fixes:
ERROR: HIDL interface vendor.lineage.livedisplay@2.0::IAntiFlicker is
referenced in /system/etc/vintf/compatibility_matrix.device.xml,
but there is no corresponding .hal definition associated with a
hidl_interface module in this build. Typo?

Change-Id: If7708540351db6f465504ed433638653e2c52503
2023-06-21 15:35:00 +03:00
Luofan Chen
2decc6661e soong: Add TARGET_HEALTH_CHARGING_CONTROL related configs
To specify the charging control allowed modes:
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_{BYPASS,DEADLINE,TOGGLE},

To specify the charging control paths:
TARGET_HEALTH_CHARGING_CONTROL_{CHARGING_PATH,DEADLINE_PATH},

To specify data written to TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH:
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_{ENABLE,DISABLE}

Change-Id: I88831c84966f82648c8ca60de5abb34416140f6c
2023-06-09 18:06:47 +02:00
Michael Bestas
97f0f8e3f4 config: device_framework_matrix: Add vendor.lineage.health
Change-Id: I91ee2a15ee2f68947f220ab6e885b9049936acb2
2023-06-09 18:06:47 +02:00
Luofan Chen
5bd9ed9840 config: Copy Lineage health permissions
Change-Id: I12dcb124293cac0ba6f7275ee30498b711c723dd
2023-06-09 18:06:47 +02:00