Commit Graph

3820 Commits

Author SHA1 Message Date
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
Alexander Koskovich
de944afd71 lineage: apns: Update Net10 APNs
* Due to the lack of mvno_match_data, these APNs
   are showing up on T-Mobile plans.

Change-Id: I61845333e90e380c62c7ec8fc1ab8b006a908882
2022-02-28 22:52:58 -07:00
Alexander Koskovich
2348c9209f lineage: apns: Drop Solavei
* On November 19, 2015, Solavei announced its carrier
   partner, T-Mobile USA, had terminated its agreement
   to provide service under the condition that Solavei
   did not meet expectations.

Change-Id: Ied279ee2034e6934412e1e1b072c29c9009321d1
2022-02-28 22:52:58 -07:00
Alexander Koskovich
eeafdeb6c5 lineage: Update U.S. T-Mobile APNs and add DUN tethering
* Tethering was broken because it was defaulting to
   'Ting Data'.

Change-Id: I6093f0abd65c4628a18ca3a990e7b639b995c45b
2022-02-28 22:52:58 -07:00
Jarl-Penguin
7adc095f6a kernel: INSTALLED_RECOVERY_KERNEL -> INSTALLED_RECOVERY_KERNEL_TARGET
* Make it consistent with the rest of the targets

Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I869d3d8570b4deb2f1e019efa975526a528ca3e7
2022-02-20 13:26:31 +01:00
Nolen Johnson
8e215b7200 lineage: products: lineage_x86{,_64}: Don't build kernel
* Results in an error.

Change-Id: Ifab94ca34bab75d8e55b317f69060fc02f068ecf
2022-02-15 19:44:19 +01:00
Nolen Johnson
d8bdaefb4f lineage: products: lineage_x86{,_64}: Don't include SDK addon
* This doesn't work, and just errors out similar to arm/arm64.

Change-Id: I53a2261095f1e2acab3b7da20d3f092ccc83e8ab
2022-02-15 19:41:41 +01:00
Tom Pratt
5a35edd014 Rename automotive emulator targets
Matches the upstream separation of gsi and emulator targets.

Change-Id: I07947727c39b87d2bd1ee6bf2809a7f40ff380ba
2022-02-13 11:03:28 +01:00
LuK1337
c753856076 config: partner_gms: Make default partner_gms makefile optional
Not everyone using WITH_GMS=true uses partner_gms.

Change-Id: Ic0aa3bf8164ecdba54e954b742bc71cdc688fd1c
2022-02-10 22:28:27 +01:00
Nolen Johnson
9ed5773c65 config: partner_gms: Introduce Android Automotive GMS
Change-Id: I1040d9b02c6c783fc2393f5600698ed01b0a74ab
2022-02-10 11:26:15 -05:00
Nolen Johnson
4f291af9a3 config: partner_gms: Make mainline modules entirely opt-in
* Except for Android TV, which requires them to boot.
* Most people on mobile and car builds won't want mainline
  modules, as they may conflict with LineageOS features.

Change-Id: I9b4db3e6a109b834963a4ddacacc855dc55c258c
2022-02-10 11:26:15 -05:00
Alexander Martinz
2d473bc876 config: partner_gms: Remove hardcoded variant list
Instead of hardcoding the GMS variant, allow to set the makefiles
which should be included for WITH_GMS builds.

For example:
  Project FI
    - WITH_GMS_FI := true
    + GMS_MAKEFILE := fi.mk

  Go devices
    - WITH_GMS_GO := true
    + GMS_MAKEFILE := gms_go.mk
    + MAINLINE_MODULES_MAKEFILE := mainline_modules_low_ram.mk

  Mainline modules without updatable apex
    + MAINLINE_MODULES_MAKEFILE := mainline_modules_flatten_apex.mk

As you expect GMS to be configured the way you specified them, this
change also causes the build to error out, if a makefile can not be
included.

This excludes mainline modules to allow including GMS without using
mainline modules.

Change-Id: I0ab61449ed7cc60e72bf519f91c29712055f8a74
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-02-10 11:26:14 -05:00
Bruno Martins
43c8f40ba9 envsetup: Fix long time broken path to sh
Change-Id: Ia76d14e10571dd6f3ac9f4adf288effae851ffe3
2022-02-08 23:09:21 +01:00
Michael W
a28fa6de34 envsetup: dopush: Correct paths
* In order to automatically restart the system when pushing SystemUI, the
  path must actually be correct
* Since android 10 it's in system/*product*/priv-app and 11 will move
  it again, so just match it anywhere
* Make framework also location independent

Change-Id: I4a9eb1edbbb21ab8abe17815c606921f7a538b7f
2022-02-08 22:59:55 +01:00
Bruno Martins
2759a5b50e Rename init.lineage-system.rc and move to /system_ext
Change-Id: Ife4f9467b6aa2d656a2df34cc9df5dafef304348
2022-02-08 13:09:39 +01:00
Bruno Martins
70307a29eb prebuilt: Update terminfo path
Due to bash compilation issues, libncurses had to be moved to /system_ext.

Change-Id: Idbc2ac810b98843c00ada4f96b46ebb1c8744128
2022-02-08 13:04:39 +01:00
Luca Stefani
6b1163254d Remove LineageAudioService
Change-Id: I3260a60a733927b47f3b5f5192254dc692ec33eb
2022-01-31 00:45:17 +02:00
Bruno Martins
3bf5b914cb config: Delete perf permission
Change-Id: I465b8d99215f2deb8e84b686f6837a5eac9669dd
2022-01-30 22:34:25 +01:00
Alexander Winkowski
8661e04096 apns: Add Unifi
Change-Id: I4c27c4089c548eca528c70d13bb7cb8d87373b54
2022-01-29 14:54:11 +01:00
Alexander Koskovich
cf387d4080 lineage: Pick up mainline modules as well.
Change-Id: I1877329d7a1fc9697a63c08af0466daf155f8cba
2022-01-27 22:01:48 +01:00
Michael Bestas
ee5797e4b3 config: Build Android 11 icon shapes again
Google removed them from frameworks/base, we relocated them
to packages/overlays/Lineage

Change-Id: I90395d8fd8e17d5f8ff2a5159aadb56f9674f2f9
2022-01-27 20:14:14 +02:00
Michael Bestas
87ebf0f3c4 config: Build font overlays again
Change-Id: Ibf6ea9645bbe352a430636c10c3e6e91ac79b99c
2022-01-27 20:14:14 +02:00
Danny Lin
6c6ad33125 overlay: core: Use accent color for progress bar background
This matches the stock Pixel style and makes progress bars look more
integrated, since the active (foreground) part is using the accent
color.

Change-Id: Ia7f77c13d166c0b28c08ad71231d673195696460
2022-01-27 00:36:47 +02:00
Danny Lin
58c6508566 overlay: SystemUI: Remove power menu shadow
This fits better with Material You, especially when the default shadow
gets clipped at the edges.

Change-Id: If1f421692bcc737882f76fc7929b9f9dd0dd71f0
2022-01-27 00:36:45 +02:00
Danny Lin
945c2a3017 overlay: Launcher3: Re-enable header protection
Google disabled this in qpr1, but we can re-enable it now that we've
fixed the height/clip calculation.

Change-Id: I93ac8162794079079e51061181f78d4dc40a4d5e
2022-01-27 00:36:41 +02:00
TH779
264dd95bc1 Revert "vendor: Add vendor.lineage.biometrics.fingerprint.inscreen permission"
* Udfps doesn't need this anymore.

This reverts commit 276e7770bf.

Signed-off-by: TH779 <i@779.moe>
Change-Id: Ie26895d2c32b6544334efd46bb5ca73455ed99cb
2022-01-26 22:56:32 +01:00
TheScarastic
af717a279c soong: Rename fod to udfps
* now flag is changed to TARGET_SURFACEFLINGER_UDFPS_LIB from TARGET_SURFACEFLINGER_FOD_LIB

Change-Id: I499b31d00a053b865ceaa3b34a9762f980bbf14e
2022-01-26 22:56:32 +01:00
LuK1337
a585122d85 lineage: Add vendor/qcom/opensource/commonsys/display to soong ns
Change-Id: Ic9f5fb64a3cd7cfdd38c5caf38ee6e94ef9c8c73
2022-01-26 21:28:39 +01:00
Pig
ffb9554ff0 lineage: Add vendor/qcom/opensource/commonsys/system/bt/main to soong ns
Add one more product soong namespace to reflect S(QSSI 12) changes

Change-Id: I84580b04fd34bad35435753f917694a4dd1cc3b9
2022-01-23 23:43:14 +01:00
Alexander Koskovich
e220ca2625 lineage: tasks: Support copying kernel modules out to /vendor_dlkm.
Change-Id: I84993ba5e0190d310c326da7806e82f627e37a58
2022-01-22 22:39:21 -07:00
Chirayu Desai
d91d695664 kernel: Implement build time LTO choice
Change-Id: I898eb50fadb6bde5beebf46f443c5de7e6acc907
2022-01-13 14:40:31 +01:00
Alessandro Astone
174ee28d0f Revert "Revert "kernel: fix KERNEL_TOOLCHAIN_PATH_gcc and usage""
The fix was correct...

This reverts commit 168fd231b6.

Change-Id: If550fd44f32b801553b8ac23cb2a91d3f29df557
2022-01-06 16:41:05 +01:00
Sultan Alsawaf
d20cc9b344 overlay: core: Disable OtaSuggestionSummaryProvider from GMS
GMS now uses OtaSuggestionSummaryProvider to push update notifications,
both in the status bar and as a dialog pop-up. Disable it.

Change-Id: I51c039a1dbbb781e5ffabdd313d062feda308b89
2022-01-05 14:55:20 +01:00
Mike Auser
2007eddeb7 Changed protocol from IPV6 to IP for Telus
(This is consistent with Google's APNs config.)
These changes have been thoroughly tested on the Telus mobile network.

More Info...
Telus (from Western Canada) doesn't yet fully support IPV6.  As a
result, Telus customers trying to run LineageOS won't have mobile data.
Telus users (including myself) have been running into this
problem for years.  For example...
https://www.reddit.com/r/LineageOS/comments/hyg5hw/change_apn_settings/

Change-Id: I5085c9463e26da7101106525550f1efef2474c5b
2022-01-05 05:36:07 +01:00
Michael W
b4af84e630 vendor: apns: Add auth_type explanation
* Since it's unclear what the numbers are, make it easier to add a new
  apn by specifying the possible values in a comment at the top
* Also add missing copyright (verified, first LineageOS commit was
  indeed 2016)

Change-Id: Icaf292fd79a903bcf9ef5a3813f6288cffc468ad
(cherry picked from commit 7aded097379bd76b9167cc7f5784bcb3a9858066)
2021-12-14 21:43:20 +01:00
Michael W
d636573394 vendor: apns: Fix wrong IPV4 protocols
* The correct string is "IP", not "IPV4"
* Other possible values are "IPV6" or "IPV4V6"
* Source: prebuilts/sdk/30/public/api/android.txt
  Lines: 46832-46834

Change-Id: I3d4729b829f87a4d7ab83584d1aed01d87e10fd2
(cherry picked from commit 7dc952be2a46b2987a293f02dc394d1e5c9809ab)
2021-12-14 21:43:09 +01:00