* 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
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
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
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
* 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
Mobile builds on devices with no touch panel are also getting these
settings applied, which is not intended.
Change-Id: I0e0e1635ec21f0fbddcaef311b443b80f2da2b86
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
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
- 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
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
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
Google disabled this in qpr1, but we can re-enable it now that we've
fixed the height/clip calculation.
Change-Id: I93ac8162794079079e51061181f78d4dc40a4d5e
GMS now uses OtaSuggestionSummaryProvider to push update notifications,
both in the status bar and as a dialog pop-up. Disable it.
Change-Id: I51c039a1dbbb781e5ffabdd313d062feda308b89
Android has had location indicators for a while, but let's use the new
privacy indicator infrastructure for displaying them. This makes them
integrate better with the new camera and microphone indicators.
Change-Id: I09d8fe845d81d6bd461f564ac8e0c69989641bd8