Commit graph

488 commits

Author SHA1 Message Date
Joel Beckmeyer
58b196d0d8 overlay: update VVM config
Fixes Xfinity Mobile visual voicemail and maybe others. The
`vvm_type_vvm3_mvno` symbol doesn't even exist in the Dialer code.

Change-Id: I918539ddf7d79806394f722e7e7e044b3cad853f
2024-01-03 17:45:03 +00:00
Michael Bestas
5d8add8d52
overlay: Remove dimensions that are the same as defaults
Change-Id: I66049cd285fef9e86bd5eea51ee194711fe02ac2
2023-11-12 16:22:54 +02:00
LuK1337
30a34bb4fd overlay: Unset search_bar_corner_radius
It's set to 28dp by default now.

Change-Id: Id3ecf86005d616dab9e39601eea331a0d4033431
2023-11-12 13:43:19 +00:00
LuK1337
fb6b12b1a6 overlay: Set udfps_lottie_translate_y to -500dp
Matches value found on Pixel 8, but it should be ok on all devices.

Change-Id: I1cf4e7bcd0b630aaaf4f2d3d25887a5387eda659
2023-11-10 16:52:15 +01:00
Tommy Webb
14e50c9177 Enable lockscreen shortcuts (quick affordances)
Change-Id: Ie7a10f7e93cf90f4e32810397ceecc7a0c1c96e9
2023-10-29 22:08:22 +00:00
basamaryan
625b9a34c0 Revert "device_config: Enable separate notification volume control"
The feature is now enabled by default.

This reverts commit da9c5060ad.

Change-Id: I0977e3eb1cf0b62b258f13e63b3952d5b329ded6
2023-10-20 09:55:48 +01:00
Bruno Martins
f4b51c1f60 overlay: Remove obsolete overlays
$ adb shell cmd overlay dump

IDMAP OF com.android.settings.auto_generated_rro_product__
Paths:
    target path  : /system_ext/priv-app/Settings/Settings.apk
    overlay path : /product/overlay/Settings__auto_generated_rro_product.apk
Debug info:
    W failed to find resource 'color/lock_pattern_view_regular_color'
    W failed to find resource 'color/setup_lock_pattern_view_success_color_light'

[...]

IDMAP OF com.android.launcher3.overlay
Paths:
    target path  : /system_ext/priv-app/TrebuchetQuickStepGo/TrebuchetQuickStepGo.apk
    overlay path : /product/overlay/TrebuchetOverlay.apk
Debug info:
    W failed to find resource 'bool/config_header_protection_supported'

[...]

Change-Id: I4eadd90675986d92dfae4b91b5870637d9b9d9bd
2023-10-03 15:04:04 +00:00
Tommaso Fonda
53760b516c overlay: Move config_hspa_data_distinguishable to proper location
It was moved to SettingsLib in Android 12.

Change-Id: Ia2dd5fd0af5edeb872abfc870c003e6ecaf43b1f
2023-09-16 13:24:56 +02:00
Bruno Martins
5a95d43239 overlay: Do not overwrite default config_pluginAllowlist
Make sure to keep the default entry.

Change-Id: I41a084a79ba4c1501c2b607e51c3f63eb745f58b
2023-09-05 12:12:11 +00:00
Bruno Martins
161e397ed5 overlay: Treat org.lineageos.settings.device as privileged
This marks our very generic package as allowed to provide privileged
SystemUI plugins.

Change-Id: Icb68d9a535d275cb2c808174eb123b69308c1fed
2023-09-05 12:12:11 +00:00
Adithya R
eb134f0651
overlay: config_plugin{Whitelist -> Allowlist}
* Changed in cbf072c205

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: I63f31f532ae994342ad5a540cea250f3b95759be
2023-08-22 14:37:00 -04:00
LuK1337
da9c5060ad device_config: Enable separate notification volume control
Change-Id: If28bf063526429e0d02c117a1f78bc787b2b65fb
2023-08-05 13:46:56 +02:00
techyminati
7a6a0c2c17 overlay: Exempt MediaTek ImsService from location indicators
* Mtk ImsService checks for location data to register ims,
  which constantly triggers the location indicator.

Change-Id: I1b78ffd788129902a23eba844044f3afbdfe46ff
Signed-off-by: techyminati <sinha.aryan03@gmail.com>
2023-07-21 10:44:59 +05:30
LuK1337
d9b0c49358 overlay: Set screenshot work profile files app to DocumentsUI
Fixes NPE when taking a screenshot in work profile.

Change-Id: I73349b168543072be009b41bc2f3711876a10df2
2023-06-22 22:01:00 +02:00
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
Michael Bestas
b2482bb135 overlay: Convert DocumentsUI RRO to standalone package
Fixes:
W idmap2d : overlay '/product/overlay/DocumentsUI__auto_generated_rro_product.apk' is not allowed to overlay resource 'bool/config_default_show_device_root' in target: <overlay> android:targetName "" does not match overlayable name "DocumentsUICustomization"
W idmap2d : failed to find resource 'bool/show_documents_root'
W idmap2d : overlay '/product/overlay/DocumentsUI__auto_generated_rro_product.apk' is not allowed to overlay resource 'string/default_root_uri' in target: <overlay> android:targetName "" does not match overlayable name "DocumentsUICustomization"
E idmap2d : no resources were overlaid

Remove unused overlays while we are at it.

Change-Id: Icf48bb9644bcfd2ca2c1c5681623f4f7c762bf35
2023-04-24 16:51:52 +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
3450d31de3
Switch to AOSP themes stub package
Change-Id: I6029d6cd8bd2280f994f9992d24777d4f24f4346
2023-03-21 21:01:17 +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
Michael Bestas
672d80b6fa
overlay: Update ThemePicker for android13-qpr1
Change-Id: If3a412d13400aacefa5ca2f48558a3cf1bc9526f
2022-12-09 02:12:06 +02:00
Chirayu Desai
e0d3e2892d
overlay: Update Dialer VVM config
From:
* com.google.android.dialer 94.0.488803600

Change-Id: Ia2d054d2ba29a425224f1795aacae411388d874c
2022-11-30 20:13:43 +02: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
LuK1337
b88982a77c overlay: Convert NetworkStack overlay to an RRO package
We can't use autogenerated RRO because android:targetName has to be set
to "NetworkStackConfig".

Change-Id: I6ff8a9c0dbd9607e71de5a65393328fe249a99e8
2022-07-16 00:38:37 +02:00
althafvly
919dd1c9b9 device_config: Disable always screen on
- Some devices are keeping screen on and not turning off.
  Reported in some pixels and asus

Issue: https://www.reddit.com/r/LineageOS/comments/uw5d8p/screen_timeout_issue_on_pixels_on_android_12/
https://gitlab.com/LineageOS/issues/android/-/issues/4798

Change-Id: I1e2471928b47387f7e40adb81d3457bb58cc2755
2022-06-28 07:19:28 +02: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
Danny Lin
0498768376 device_config: Save discrete app op history for more permissions
Android 12's privacy dashboard shows permission usage timelines for
location, camera, and microphone. However, there's no reason to limit it
to those specific permissions; all the infrastructure is in place for
other permissions.

To enable the usage timeline for more permissions, keep discrete app op
history for all permission groups shown in the privacy dashboard. The
list of permission group -> app op mappings was obtained from
AppOpsManager.RUNTIME_AND_APPOP_PERMISSION_OPS with a few additional ops
from PrivacyItemController, and each op was resolved to its respective
enum ordinal from frameworks/proto_logging/stats/enums/app/enums.proto.

Change-Id: Icbde7fb59ae16fa7b15160d78d9dce7125a82ba6
2022-04-28 22:41:56 +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
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
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
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