Commit Graph

196 Commits

Author SHA1 Message Date
Chirayu Desai
135cb649de Disable AGPS by default, it'll be enabled in SetupWizard
* This way the user can choose to turn it off, and it'll
  never have been enabled
* If they just keep it as the default (toggle will be on in SuW),
  then it'll be enabled, which is the default we want

Change-Id: I878200a0351d0b0018a975e432602de2badc4eef
2023-06-07 01:53:41 +02:00
Sebastiano Barezzi
e39ddd52fc overlay: Move default status bar height to no-rro
* This overrides whatever value device trees set when using
  auto-generated RROs

Change-Id: I54d504c4d1c9a1123051e0bd564aa3b0d2a0d865
2023-04-14 23:24:55 +02:00
Arian
cbf5989f8b overlay: Disable immersive mode confirmation
The confirmation dialogue is broken in several apps. Displaying the
confirmation dialogue leads to a focus change on which the app requests
immersive mode again leading to a loop of focus changes between the app
and the dialogue. Set the default value to confirmed to avoid this issue.

Example of the issue in Jelly: https://imgur.com/a/DT98ahR

Change-Id: Ifd906f5417cc0a090a2bf7d1f0dcdab26bf62dbb
2023-04-08 21:09:16 +02:00
Michael Bestas
d51e91e810 overlay: Relocate config_displayLightSensorType to no-rro
RRO breaks Pixels and every device that overlays this.

Change-Id: I704f81c0cb30b92d1a33d5e6569d501519e0bcd7
2023-03-21 18:21:20 +02:00
LuK1337
f8663e2484 overlay: Set config_displayLightSensorType to android.sensor.light
The fallback was broken in frameworks/base@4be1126d25.

Change-Id: If6d7b0ea0306cbfde94d344dd5d933a155471a3f
2023-03-18 12:24:58 +01:00
Michael Bestas
8f5abd2a73 overlay: Set calendar component name
Change-Id: I45dcb494863616d09348266f444cf8295313454c
2023-02-09 22:26:20 +01:00
Michael Bestas
3f2102da19 overlay: Set clock component name
Change-Id: I7952d4dc65b4c5813e5cf7f6a77259dd4c6370cb
2023-02-09 22:26:20 +01:00
Michael Bestas
b5e83c1f01 overlay: Set default status bar height to 28dp
The default 24dp looks too thin after Android 12L.
This matches Pixel status bar height and makes status bar look
slightly better on devices without a cutout/notch and landscape mode.

Change-Id: I5907d6ca19613e4c8bc186a9eca01d11730733b0
2023-01-09 17:58:19 +01:00
LuK1337
5fdb4e06a2 overlay: Make config_defaultQrCodeComponent untranslatable
We don't want to generate values-(en-rXA/ar-rXB) for it.

Change-Id: I3be1dde9a5fb3a6dbb9140434fca757fcc725924
2022-12-09 13:28:04 +01:00
LuK1337
610eca6f74 overlay: Set config_clockFontFamily to empty string
This will match pre QPR1 clock font.

Change-Id: Idef5fb093d81f49e40f2fcf4df69f834804916ae
2022-12-09 13:27:56 +01:00
Nolen Johnson
91176ea1ad lineage: overlay: common: Move GMS overlays elsewhere
Change-Id: If1d25def956e215742fb038c4f723acaf816ebae
2022-10-07 23:58:25 +02:00
Michael Bestas
273de226b9 overlay: Set config_defaultQrCodeComponent
Fixes QR QS tile

Change-Id: Iec42d27f1952169b05925dd25e8ad63da07ca453
2022-10-05 16:11:06 +02:00
Nolen Johnson
ce9107e2e2 overlay: Enable config_setColorTransformAccelerated by default
* Much like Clang, like 95% of supported devices currently use this.
* GSI's also benefit from this, as LiveDisplay works on modern vendors.

Change-Id: I23925fb289dd28dd031960317b74ec3bc43ba1ca
2022-10-03 08:29:56 +02:00
Aaron Kling
26ddee9327 overlay: Use -television instead of -large-notouch for atv
Mobile builds on devices with no touch panel are also getting these
settings applied, which is not intended.

Change-Id: I0e0e1635ec21f0fbddcaef311b443b80f2da2b86
2022-09-14 05:45:15 +02:00
Michael Bestas
be30384d5f overlay: Define local contact name and type
Change-Id: I505c2b187a0aa7cfe28ab7b4cbb970baac376287
2022-08-23 18:32:51 +03:00
Chirayu Desai
f67d3e9845 overlay: Exclude ImsService from location indicators
Change-Id: If6c71769b87eb59deadaaa933e1c8449b949af26
2022-06-01 17:47:01 +03:00
Danny Baumann
ee38dc5d38 overlay: Also exempt CneApp from location indicators
Similarly to change I6a55dd25f8435523f98970bfd24c3f86657ba6f7 the CNE
app also receives the phone state broadcast including location data,
which constantly triggers the location indicator.

Change-Id: Ic11674b7f3cccb6b5b7de1e5f8a99a01fd32c589
2022-06-01 17:46:31 +03:00
LuK1337
ccdf4e9102 overlay: Exempt Bluetooth from location indicators
Needed for QTI BT.

Change-Id: I177fac1f53d6ca8847a10eb819334fac6f5acab6
2022-05-31 20:28:58 +02:00
althafvly
90902d9bcc overlay: Exempt TeleService from location indicators
- TeleService constantly checks for location (in every 2-3 minutes).

Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4674

Change-Id: I6a55dd25f8435523f98970bfd24c3f86657ba6f7
2022-05-14 17:40:43 +02:00
Nolen Johnson
6d0a45fb93 Update default wallpaper
Change-Id: I7d13cf58423d3c7646cc717981ab4250bfcd8757
2022-04-17 10:03:29 +02:00
Danny Lin
cd2d068c3b overlays: Use rounded corners in SystemUI
- This looks more modern and matches the stock Pixel style.
- This matches the stock Pixel rounded corner styles as of Beta 5.

Change-Id: I94d6e782a24873ae0c59b6613e998f4a80842712
2022-04-16 15:12:22 +02:00
Timi Rautamäki
1e8fc8cb29 overlay: show all icons in collapsed statusbar
There is no need to block them here as they can be blocked in settings.

Change-Id: Ie46cc3b72a1496707b367d01dc3e0329e2335187
2022-04-13 12:44:53 +02: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
LuK1337
0cedc88d0a overlay: Remove unused SystemUI overlays
Neither of this does anything anymore.

Change-Id: Iddefcfc2b7417eb64564ddec93c5b60926e81457
2022-03-21 21:57:02 +01:00
Michael Bestas
a88d06f120 overlay: Default to Seedvault backup transport
Change-Id: I3077aa785d57965d25385c8d73580cc9f5cade73
2022-03-16 00:41:41 +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
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
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
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
Timi Rautamäki
16c5fdd469 overlay: update default wallpaper for large-notouch
Use a solid black for TV devices

Change-Id: Iff030c1d631e32c48148d35809ae56bc6cd4cc05
2021-11-18 16:19:29 +01:00
Danny Lin
bdfa6c4880 overlay: SystemUI: Enable production-ready feature flags
- Conversations: enabled by default on Pixel
- Charging ripple: enabled by default on Pixel

Change-Id: I02b8d268cf750d13aa8b1864aa3bcf46bf820e18
2021-10-15 15:10:10 +02:00
Danny Lin
b835f7dadc overlay: core: Define wallpaper cropper package
Use ThemePicker (incl. WallpaperPicker2), like everything else.

Change-Id: If2916489c78f190cdd532e5fc4f11d0e65cde355
2021-10-15 15:10:10 +02:00
TheScarastic
7b6521c8a4 overlay: Allow toggling camera and microphone
Change-Id: I2b91c0d77dfa80484e7b081e14f6c5c1dc452db2
2021-10-15 15:10:10 +02:00
Luca Stefani
ad6da901cd overlay: Change global actions gestures defaults
Settings use these values to _restore_ the default state for
power menu long press and volume key chord combo.

Sadly they assume default is power menu instead
of assistant and vib/mute toggle instead of global actions,
simply change them to restore a sane behaviour.

Change-Id: I0187bc4e1cd991c9516560e2d8ae24fc388dddd0
2021-10-15 15:10:05 +02:00
Alexander Koskovich
393b0e8ffc lineage: overlay: Remove MMS user agent URL
* The URL in this overlay no longer points to anything.

Change-Id: I555f615d9b2fd10efbaf04dc1cf4df96ba571955
2021-08-22 19:02:31 +02:00
Greenflash1986
157fff1af9 Allow unified location provider as possible location provider (not as used location provider)
As described in 204837/2#message-9ecc61fe611f195b13f5770e33904afccb01c2fa :
The "network location provider" which is finally used is selected in three steps:
- first the signatures of all packages, which are in this list AND which are installed in system, are collected (services/core/java/com/android/server/ServiceWatcher.java#L96)
- secondly the packages which implement the "network location provider service" are selected and their signatures are compared against the previous collected signatures (#L225)
- thirdly these packages are requested for their "serviceVersion" in metadate. The package which provides the highest version is used. If there are two packages with the same serviceVersion the first selected wins. (#L243)

There are no security implications because there has to be a proper signed package of "org.microg.nlp" in sytem first. (The check against the signature of this package allows for later updates of the package outside of system)

To quote Andreas Schneider from 204837:
"This doesn't have security implications as in order to use the location provider in needs to be installed as a system app. However this would allow it to be flashed to system like gapps."

On my opinion it's up to the user to decide if he want to use Gapps and Unified / MicroG. But in the first place this patch is needed to make it possible.

Change-Id: I4a046ead2cc46929d2c18cfe1561becb10a75bcd
2021-04-09 10:22:01 +02:00
Danny Lin
fe8a057a90 config: Allow more legacy apps to use conversation notifications
This adds some unofficial clients for Telegram, as well as some
privacy-focused messaging apps:
  - NekoX
  - Plus
  - Telegram X
  - Element
  - Jami
  - Briar

Change-Id: I5a85bd46b192b16f08c07873555bd23fc4cb6047
2020-12-23 14:24:53 +01:00
Danny Lin
a9bf8b0e03 overlay: Delegate DeviceConfig permissions to custom provisioning service
Our custom SimpleDeviceConfig provisioning service needs to be defined
here in order to receive the correct permissions.

Change-Id: I7dd65ec9b732fb999a78627538d883f61cb237a4
2020-12-18 16:30:26 +02:00
Danny Lin
d02c314096 SystemUI: Whitelist QuickAccessWallet plugin
This is required for cards & passes integration in the power menu
on user builds.

Change-Id: Ib2b4de79f23abdb9859c9f9c84f0e10f359030e3
2020-12-15 22:20:53 +01:00
Danny Lin
6d21e6a735 config: Add conversation notification allowlist for older apps
Extracted from the Pixel 2 XL's RP1A.200720.009 stock ROM.

Change-Id: Id5f7d48eb615fb578ef45587983718b4dedf41cf
2020-10-29 05:06:36 +01:00
razorloves
9a376cf006 Revert "overlay/common: Unlock swipe gesture nav bar"
No longer needed. Starting with R 'true' is default.

This reverts commit 403a0ad3d8.

Change-Id: I18cccb5b057ab4742e839bb2786227ab41c07b1d
2020-10-21 23:54:32 -05:00
LuK1337
b08890156e lineage: Relocate config_keyguardUserSwitcher overlay to proper path
Change-Id: I1a1c093b39dbd119e976582f23eb551986caaa84
2020-09-18 19:09:19 +02:00
Wang Han
8038c023f4 overlay: Remove voicemail number configs
* This is not a thing since 2016.

This reverts commit 8d446d533d and f61c4532dc.

Change-Id: Ie870f0c486043b57e4b8b10693830331540ae013
2020-08-20 08:58:05 +02:00
Oliver Scott
99228d6db7 lineage: update GMS updater component disable list
Google has introduced new components that handle their system updater

Change-Id: Id5bb31af01736ac3a0e5b652c0d8be72c09df93a
2020-07-13 20:04:01 +02:00
Anirudh Gupta
9809469844 overlay: Define default Wellbeing Package
Change-Id: I7fcd851b5c89e9deda2979b206ff784f8b56b346
2020-01-09 15:43:41 +01:00
Martincz Gao
dd3a0f56d3 overlay: Use ntp.ntsc.ac.cn NTP server for Chinese users
Old one no longer works.

Change-Id: If04d87ded94ceb08c7265569503bd51e7c06c542
2019-11-26 05:13:56 +01:00
razorloves
0fd9727468 overlay: Update webview providers
Starting with Q, Chrome is no longer a webview provider.
The role was switched over to google's webview app.

Change-Id: I59251578820a9af0b8ad8e51eb429156e7b7a3eb
2019-11-25 00:49:11 +01:00
Oliver Scott
206218347d lineage: GMS updater components disable list bringup
* GMS updater notification should no longer appear
  (SystemUpdateGcmTaskService being responsible for it)
* Remove outdated entries

Change-Id: I25f93dc8477a1f8e30a9c9e0280e502fa4ce0971
2019-11-15 05:21:57 +01:00
Michael W
55548eb864 vendor: Rename config_disabledComponents
* Follow the change in fw/b introducing the per-device disabling of
  components

Change-Id: Ie729c637c86f733ed7bdcc6fd3e3391acb4c01e3
2019-11-15 05:21:57 +01:00