Commit graph

3955 commits

Author SHA1 Message Date
Chirayu Desai
55b48a2c84 Initial commit of common/pixel variables
* Excluding:
  raviole from vars/kernel_repos
  gs-common from vars/raven

Change-Id: Iaf24a2aba7ca26d5394f6a224d4e8660d02a901a
2022-04-07 18:36:07 +02:00
Danny Lin
8920208e31 device_config: Show setting to disable location indicators
Change-Id: I5f7b76e0321fc334e834663b68ccc646f6844d4c
2022-04-07 13:18:00 +02:00
Scott Warner
a256e54405 config: Disable GMS OTA popup
Change-Id: Ie3ac018c0ff915832bdcfc9e47467879b3694c13
2022-04-07 00:42:34 +02:00
Michael Bestas
ae5f929573 config: Include vendor/crowdin overlays
Include translations for languages not available in AOSP.

This used to be split to each repository but it required forking AOSP
repositories just to add translations. Including them via overlay
avoids forking and makes the translations more portable, they can even
be used on pure AOSP builds.

Make them built in to avoid RRO issues.

Change-Id: Icc4c7b3a583c3d8a139a4a9a856dfca57952e131
2022-04-05 23:20:45 +02:00
Sebastiano Barezzi
8ac7d31285 build: tasks: kernel: Rework kernel fragments handling
* Since some time you can specify multiple configs when you prepare .config and they'll get merged to main one
* To use it inline:
TARGET_KERNEL_CONFIG := main_defconfig fragment1.config fragment2.config ...
* TARGET_KERNEL_ADDITIONAL_CONFIG has been nuked since it's superseed by this new logic
* kernelsavedefconfig will only use the base defconfig

Change-Id: I479c762a9235ed0ef6fcdc79b53e084d5e2d78a6
2022-04-04 03:54:39 +02:00
Nolen Johnson
363eeb5517 partner_gms: Support makefile variants for GMS variants
* TV needs minimal as well.

Change-Id: I8ef44f9c92974cf97f93bbb34026c3812ca9ff51
2022-04-01 10:17:40 +01:00
Edwin Moquete
834a1081c3 lineage: Pass mka argument to m
* Needed for brunch/mka bacon to work

Change-Id: I0eb44c030eb965e76404e10a7c710ff411eec7ff
2022-03-26 02:27:06 +00:00
Nolen Johnson
057ffca824 lineage: Make mka a function again
* This caused breakages in subshells from scripts.

* Still keep the dropping of `-j`, as it's not needed.

This is a squashed revert of:

    Author:     Timi Rautamaki <timi.rautamaki@gmail.com>
    AuthorDate: 2022-03-24 08:21:34 +0000
    lineage: move mka definition above brunch

    Otherwise it's not defined for brunch.

    Change-Id: I642e3db365fab46d4428d1b1f310304280b72efc

    Author:     Alexander Koskovich <akoskovich@pm.me>
    AuthorDate: 2022-03-21 07:54:20 -0700

    envsetup: Remove threads argument from mka

     * "m" is multi-threaded by default.

    Change-Id: I5c9bb30dc49dafa31ba9fc70e617f477b6814b41

Change-Id: If4112ae739d8356f922cbbaf8e3d7ded5d078bd0
2022-03-25 18:52:34 +01:00
Aaron Kling
a99b767d1e Fix nvidia enhancements soong conversion
Change-Id: Icc79f1f349de2bc4b213dd241ea59d69ca13a39b
2022-03-25 06:10:50 +01:00
LuK1337
ec10ed10f8 soong: Add TARGET_TRUST_USB_CONTROL_{PATH,ENABLE,DISABLE}
Change-Id: Ib245114588fd14c83069e4365f9ca3e9e9536ba9
2022-03-24 14:46:34 +01:00
Timi Rautamäki
b55f5af61b lineage: move mka definition above brunch
Otherwise it's not defined for brunch.

Change-Id: I642e3db365fab46d4428d1b1f310304280b72efc
2022-03-24 09:28:07 +01:00
Bruno Martins
9f8a664bc4 overlay: Move config_globallyDisabledComponents to the new location
The configs have been moved to Lineage SDK.

Change-Id: I3afef228ca3655cfda14b16cc58af00155b2b2f5
2022-03-23 23:29:48 +01:00
Alexander Koskovich
145ffa4316 envsetup: Remove threads argument from mka
* "m" is multi-threaded by default.

Change-Id: I5c9bb30dc49dafa31ba9fc70e617f477b6814b41
2022-03-23 15:21:01 +01:00
LuK1337
0cedc88d0a overlay: Remove unused SystemUI overlays
Neither of this does anything anymore.

Change-Id: Iddefcfc2b7417eb64564ddec93c5b60926e81457
2022-03-21 21:57:02 +01:00
Cosmin Tanislav
176ba0e774 lineage: framework_manifest: declare support for IHighTouchPollingRate
Change-Id: Id14ec4df916028747023277982e897c2015a496c
2022-03-21 17:26:40 +01:00
Michael Bestas
4df8eb5eff apns: Add Orange IA
* Fixes Orange (France) on FP4

Change-Id: Ib8569b41068e28a55d372f929dd1fb9e2d5e77ee
2022-03-19 19:21:22 +01:00
Nolen Johnson
8db975cd36 lineage: products: Rename ATV targets to reflect AOSP GSI names
Change-Id: I96a28e5beaffd9148be2ddb379f8990c172ca69f
2022-03-19 19:21:02 +01:00
Nolen Johnson
4d09aac1ec lineage: products: Create new Automotive GSI targets
* And split out emulator includes as needed to do so.

Change-Id: I9a9e02dc9ebf4613bf2da6be9985a8565dac93fc
2022-03-19 19:20:54 +01:00
Alexander Koskovich
c6b93b4b4e lineage: config: Set default values for UDFPS in display HAL
Change-Id: I4308facd2f1f9e56b1a922c6e7aa610a7cf56919
2022-03-18 19:36:32 +01:00
Michael Bestas
a88d06f120 overlay: Default to Seedvault backup transport
Change-Id: I3077aa785d57965d25385c8d73580cc9f5cade73
2022-03-16 00:41:41 +01:00
Michael Bestas
518ab667f2 build: Fix kernelsavedefconfig target
Change-Id: Ie3d9a187693f2435f2555658c833de666848e48e
2022-03-15 17:21:22 +01:00
Michael Bestas
cfc974fe4f config: Remove PRODUCT_VERSION_MINOR from LINEAGE_DISPLAY_VERSION
Change-Id: Ie133131ee936eee32751298f959ff4c26a1bc09f
2022-03-14 17:19:28 +01:00
Michael Bestas
30744444c4 config: Remove custom LINEAGE_EXTRAVERSION logic
This isn't used in official builds. TARGET_UNOFFICIAL_BUILD_ID
is enough for people that make unofficial builds.

Change-Id: Ib6d1acb4ab8d7401ea0577f439e8288aed3f9bbb
2022-03-14 17:19:28 +01:00
Michael Bestas
14a3b4ddd0 config: Remove custom LINEAGE_DISPLAY_VERSION logic for !testkey
This isn't used on official builds and it doesn't make sense
to keep complicated custom logic for display version.

Change-Id: I3928d6e9dc932589868542e916ebd659265d6c54
2022-03-14 17:19:28 +01:00
Michael Bestas
726cf9855a config: Remove PRODUCT_VERSION_DEVICE_SPECIFIC
Change-Id: I995f5ab326a6afc04509b9c2829b8b69d5a318d7
2022-03-14 17:19:28 +01:00
Michael Bestas
9b81c29acc config: Make use of LINEAGE_VERSION_APPEND_TIME_OF_DAY consistent
Change-Id: I9cd0aaa205663e44614e07318ca66c3e0aba7c8e
2022-03-14 17:19:28 +01:00
Michael Bestas
1667b61789 config: Move version setup to version.mk
Change-Id: I24f6dd25d0986863f6f9cc116c5ae9cdf15be292
2022-03-14 17:19:28 +01:00
Michael Bestas
a6ba1d16f1 config: Remove TARGET_VENDOR_RELEASE_BUILD_ID
Change-Id: I5007d6e4991f911a8fdaaa07a7f263bd28af9c57
2022-03-14 17:19:28 +01:00
Michael Bestas
82ba06fc90 config: Remove LINEAGE_VERSION_MAINTENANCE
Change-Id: I6b6f00601be5166a1f8f31a39e3b4f58c4fc4ca9
2022-03-14 17:19:28 +01:00
Nolen Johnson
180be0af6b LineageOS 19.1
Change-Id: I52d4109d4e1bacdbc08a5e640dfcdfdd8d319bf3
2022-03-14 17:19:28 +01:00
Bruno Martins
755d713ebe config: Drop 2-button navigation support on tablets
It's completely broken as of Android 12L. Make it available only
on devices that inherit from full_phone configs.

Change-Id: I1b5d39e09b6223c78c4afb7b4480c654d848c36b
2022-03-14 16:35:36 +01:00
Tom Pratt
c86992e0cd Fix GSI targets
Inherit from AOSP gsi_{arch}.mk, because aosp_{arch}.mk files
are obsolete in Android 12. Rename for consistency with
AOSP gsi/sdk targets.

Change-Id: I449390521307ff4f269a9ebf1ad3a5ffc398bc97
2022-03-13 23:33:39 +01:00
Alexander Koskovich
4fef411428
lineage: overlay: Move Trebuchet overlay to seperate RRO package.
* RRO is not auto generating.

Change-Id: Ia69895291f4cfc4f911b7993ccb82eef8b02170d
2022-03-12 17:01:42 -07:00
Alexander Koskovich
c453599164
lineage: overlay: Exclude backup transport overlays from RRO.
* These need to reference Settings resources that they
   don't have access to.

Change-Id: I6e055b141f71f33848cf006679ae65dff43f9d03
2022-03-12 17:01:42 -07:00
Alexander Koskovich
7561a9b7a6
Revert "lineage: Exclude all lineage overlays from RRO"
* Now that PRODUCT_PACKAGE_OVERLAYS is used instead it's fine
   for Lineage overlays to be in RROs, they won't end up on
   /vendor.

This reverts commit e4868ccb6b.

Change-Id: I26cb53f6b773821cbb08e4eb309f88d736a31609
2022-03-12 17:01:41 -07:00
Tim Zimmermann
e15a636303 config: Include androidx.window.extensions in tablet builds
This enables 2-pane layout in Settings for Android 12L.

Change-Id: I57af5b876c2c33897bf4047a70c10750785a3c76
2022-03-13 00:00:31 +01:00
Nolen Johnson
d0b3a4af0f lineage: products: Add ATV emulator targets
* device/google/atv only supports armv7 and x86, so
  for emulator at least, we will too.

Change-Id: I5c7f00f8dd34d9d95747d05b6c091376451cc986
2022-03-12 23:49:24 +01:00
Danny Lin
2cf8a6ad0a overlay: core: Remove accent color overrides
On Android 12, AOSP's default Theme.DeviceDefault colors are mapped to
various shades and tonal variations from the system-wide Material You
color palette. Overriding the default accent colors with these legacy
LineageOS teal colors prevents dynamic theming (Monet) from working
properly across the system as it only affects the Material You color
palette. It also creates an accessibility issue as the new design
expects specific lightness shades for the light and dark accent colors.

Remove the color overrides to fix Monet and UI colors in general.

Change-Id: I81f18d136d8d4e22c3219bea05536219bb5ce672
2022-03-12 23:46:35 +01:00
Bruno Martins
157a2a7173 config: Create makefiles for tablets with telephony support
So far, tablets with telephony have been inheriting from
common_full_phone.mk, but that's not really proper because
such makefile now enables one-handed mode support
(setting prop ro.support_one_handed_mode to true).

Fix this by creating new makefiles that can be used also
to include more tablet-specific configs moving forward.

Change-Id: I90c22badb17911ef5e873299d986204718300e6c
2022-03-11 13:45:51 +01:00
Alexander Koskovich
a6fd6339fd lineage: overlay: Set biometrics colors to accent.
Change-Id: I9dbe50b46e3c89c2aa82c38f6d120731d2b79544
2022-03-10 18:33:07 +01:00
Timi Rautamäki
4d4e39a845 overlay: Default to night mode
* Now that Google's SUW supports defaulting to night
   mode this now makes sense.

Change-Id: Ide15c739bb09bfe7f16221a5e6299b19dcefef6b
2022-03-10 18:32:41 +01:00
Alexander Koskovich
6d88852d2e lineage: config: Make LLVM kernel compile the default
* GCC was deprecated awhile ago, the large majority
   of devices should now be using this. Clang should
   be opt out as opposed to opt in.

Change-Id: Ie388aff8eca189663f2f615f7d059e47eaf2dce3
2022-03-10 11:06:43 +01:00
Bruno Martins
d5cdc09793 config: device_framework_matrix: Remove inscreen and power HAL entries
These don't exist anymore.

Change-Id: If7e3a7719cba03c6df0510e2bdbfb080da1f1880
2022-03-08 15:21:13 +00:00
Tom Pratt
366a9db07b lineage: apns: update Telenor Mobilsurf
Change-Id: I817cc6708ec38d8ff6ea6d56d396f25b65cb5b71
2022-03-05 20:23:14 +01:00
Alexander Koskovich
c5853fe2b8 lineage: build: Drop MSM7K board platforms
* If someone finds a device that uses these platforms
   in 2022, let me know.

Change-Id: I5478d45f40497788d28a4bd04fae7838aae7e116
2022-03-03 17:08:28 +01:00
Alexander Koskovich
4d0c884d23 lineage: build: Drop QSD8K board platform
* This platform was last mentioned during CM 9 in
   android_vendor_qcom_opensource_kernel-tests_mm-audio.

Change-Id: I7e91d17303b74bed3a9c220366868afd8176a7f7
2022-03-03 17:08:28 +01:00
Alexander Koskovich
e12f9f0d97 lineage: build: Drop MTK board platforms
* Remove MTK board platforms, nothing uses this when
   looking for 'MTK_BOARD_PLATFORMS' across the entire
   organization. This lets us revert the utilities back
   to how they were in the QCOM tree.

Change-Id: If3d3a3e7543b79108b26a30c0e02bb3ab154f279
2022-03-03 17:08:28 +01:00
Aaron Kling
ee2de45666 Add nvidia product
Intended to be conditionally included in tegra device trees

This will be used to indicate which tegra specific modifications
are available. Firstly is the baseline framework modifications
for nvcpl and profiles

Change-Id: Ibae95de3ee47a4a1cefbcd4035ef48dbc246d266
2022-03-03 07:12:38 +01:00
Alexander Koskovich
de12b189a7
lineage: apns: Update 'wholesale' APNs
* Ready SIM is showing up on T-Mobile plans due to a
   lack of mvno_match_data. Noticed the URL;
   http://mms.wholesale.mmsmvno.com/mms/wapenc doesn't
   work anyways for these APNs so might as well update
   all of them.

Change-Id: I757cc518c680c04a209899b5a9ebf7d5c7674795
2022-02-28 22:52:59 -07:00
Alexander Koskovich
9bd6abd6a7
lineage: apns: Drop I-Wireless APN
* iWireless was acquired in full by T-Mobile and on
   October 1, 2018, the service was shut down as
   customers were encouraged to migrate to T-Mobile
   plans.

Change-Id: I560b1f3f6b4072a024a9beb887374892930528d6
2022-02-28 22:52:59 -07:00