Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

PR: support black theme for dark mode #72

Open
wants to merge 92 commits into
base: master
Choose a base branch
from

Conversation

kolektywestyma
Copy link

  • Add support for black theme for dark mode
  • FBW Changes needed

luk1337 and others added 30 commits September 2, 2022 21:11
Change-Id: I8db12e882c16d6afa0e04bc1c4e93f7ec99960ed
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Change-Id: I9e0d09416157a0eb542f8934bfef269c41eff363
(cherry picked from commit b3400740044acd458e20af508c31d56125d84d3f)
Signed-off-by: Saikiran <[email protected]>
Signed-off-by: PainKiller3 <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
ejbtrd: - Remove Android Version entry
  - Make string non-translatable

Change-Id: Ie02bcb5787b2cb9f72db2eec683e48b477bda1fc
Some Qualcomm MSIM devices report the baseband version twice.
Handle it gracefully, similarly to CAF.

Change-Id: I93bd071f31fed120c20185c4e0ec40edb7ca342b
Change-Id: Ife413320e73aedffb30e6b056f3f71b0db38bb46
 * align it with rest of the settings

Change-Id: I9fa098218a78c68a7b97830023a7311d81f0cef2
Signed-off-by: Bartłomiej Rudecki <[email protected]>
Change-Id: I64e50781157055e77b95f4e58c1a13a88e043b78
In many cases, it can be helpful to open mobile network settings when
airplane mode is enabled. A few cases come to mind:
  - Checking data usage to see if it's safe to re-enable mobile data
  - Disabling mobile data to avoid overage charges before reconnecting
  - Changing settings while exclusively using Wi-Fi calling
  - Updating data limit before reconnecting to avoid overage charges
  - Fixing or updating APNs before reconnecting

Most of the options exposed in mobile network settings do not require an
active connection to work, so there's no reason to prevent the user from
accessing all of them just because airplane mode is on.

Change-Id: Iff23d58304be15cfbcd0a69ab1f6f6352132f776
When no Bluetooth devices are nearby or no slice is present, there is a
stray preference divider at the top of screen that makes the action bar's
shadow look inconsistent. This removes the divider below the slice,
which is likely not that important for visuals anyway, to fix the action
bar appearance issue.

Change-Id: I6c5d0d00fcf7734b8980cc8c50c248aaf105b25f
The title of the USB preference screen ("USB Preferences") is
inconsistent in several ways:

1. It doesn't match the title of the preference that launches it
2. No other preference screens say "preferences" in their title, since
   it's redundant
3. It violates the Material text conventions, which prefer to not
   capitalize titles in the UI

This commit changes it to "USB", which fixes all of the inconsistencies
listed above.

Change-Id: I7330a9e4e121d57ee2140ef60aefb4412b1fe728
We shouldn't use a technical abbrevation of "avg" here for the common
word "average" now that it's exposed to all users in app info settings,
since we can't expect everyone to know what "avg" stands for.

Languages other than English have been left alone because it looks like
most of them are already using the expanded word.

Change-Id: If7d8881a6a7e135d69f8b07f80119dd5a768fc49
Tired of seeing people/see yourself editing every screenshot to hide some personal info like their phone numbers or their IMEI? Well, this commit will help by adding a custom string to inform the user that, to get that info, they should tap that preference. If you want to show them, you can make an overlay and set configShowDeviceSensitiveInfo as true.

Includes:
  Remove config check for "Protect sensitive info on About device"

  By: AshutoshSundresh <[email protected]>

Change-Id: Iff15a0c97ad0daa05a2cf0557cbbf4246f7c969b
 This is more of a duplicate since AOSP
 already shows phone number inside "Sim Status"
 Showing phone number info here does not
 actually make sense since this can be seen
 via multiple ways from "Sim Status" info or
 via *#*#4636#*#* among other ways so let's
 hide it.
 Also, in many cases, sim doesn't have
 the number stored hence it shows:
 "Unknown number" which is just wasted.

test:
Open Settings: About phone, the "Phone number"
for both sims, are not visible anymore, Also
verify that phone number is still shown inside
"Sim Status" information.

Change-Id: I219fcf47493e913970f6cd5b4fb3a252390d0295
Change-Id: I8ce737ec5150f37e61240d8053403046ca9317fb
 * The roles are advertised by USB HAL so we can check for their status

Change-Id: I5933d1a03f573af08b00039850173329b293448a
(cherry picked from commit b4468d8)
Shows a Google Play store icon in the App Info actionbar of apps
Excludes aosp built ones, but still works for apps generally found in /system, like SuperSU
The openPlayStore() code was created by @nicholaschum for Substratum, thank you!

BenzoEdit: fixed it for pie and updated drawable
Change-Id: Ic55e572405d97b1f8ae3f8e3b5aceaa38b6a991e
Signed-off-by: mydongistiny <[email protected]>
* Still appears in android 12

* needed after r30 merge

log:-

13:23:56.691  1422  2892 E DatabaseUtils: java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_DEVICE_CONFIG
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2065)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.setAllConfigSettings(SettingsProvider.java:1090)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:422)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProvider.call(ContentProvider.java:2448)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProvider$Transport.call(ContentProvider.java:517)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.os.Binder.execTransactInternal(Binder.java:1154)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.os.Binder.execTransact(Binder.java:1123)
02-02 13:23:56.691  1099  4392 E Utils   : did not find channel-count and/or sample-rate

Signed-off-by: saikiran2001 <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: DennySPb <[email protected]>
Change-Id: I8539ae676a97e17b0c328cb4d1f386bda2feae42
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
- so that it expands and shows full kernel version

Signed-off-by: SagarMakhar <[email protected]>
Change-Id: Ic08ec7a1db62a521e434cac5188aad2d35a4825d
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Pranav Temkar <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Change-Id: I72c90ae2f66eb1d6a9c6a423f50ea9df626559d2
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
The UI makes it abundandly clear that it is unsafe.

Change-Id: I16e97cab2516b44fa52a7cf9ba3adcdfc498cede
Signed-off-by: Dmitrii <[email protected]>
* This looks bad and inconsistent compared to other elements in the UI

Change-Id: Ide033c864be9cad756fb2d8553ec9af207737490
Signed-off-by: Dmitrii <[email protected]>
Always allow 5gHz AP option

Change-Id: I1205c7cec7715c1fac25eb29a311e347855f4d49
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
* Checking for wide gamut support isn't always enough

Change-Id: Ic7257e37f2eca97450eaf0ca1e330de7596352be
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
For some reason or another, Google made it so when you enable the
developer QS tiles they move into the active spot. This makes for
a bad experience becuase it throws all your QS tiles out of order.

This commit partially reverts the one linked below
DirtyUnicorns/android_packages_apps_Settings@fb71550

Change-Id: I11f559dc2332007811bb84562a0f63c569837222
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Change-Id: I2da5879885a15698ced67458451f85cb1afa748f
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Change-Id: I80e490e5e435e39e40f102066eeeeb712e8ba01e
Signed-off-by: Jason Edson <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Change-Id: I1a566a78e0afd6b024d2fc911f2f0233c8250a42
Signed-off-by: Jason Edson <[email protected]>
Signed-off-by: SagarMakhar <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
 * Since we usually ship "userdebug" builds, it is better to globally
   disable the toast because we are not in control of third-party apps
   that haven't been properly aligned with new Oreo requirements.

 * Leave it enabled by default only for "eng" builds

Change-Id: Ie5cdec1cbdd3285af3af730dac4a5de95ad8b334
Signed-off-by: SagarMakhar <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
* Extracted from OxygenOS

* For Christ's sake, Google. Still no drawable here?

Signed-off-by: Andrew Thomas <[email protected]>

Change-Id: I619fa2585a76fa7d298f52fed0b239931bdd7557
(cherry picked from commit 5b0a292276781fb1011107e6e6fc8bdf29a0f1d4)
(cherry picked from commit 9e337f1c29d42ab190dff5e0d382c5fb1786b60f)
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
 * Updated for Android 12 - add to provider model as well

Change-Id: Ie063edea690239ffd4b3e750652753e44a024996
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
maxwen and others added 29 commits September 21, 2022 17:58
* Updated for 12

Add:
show changes in height in the indicator too

Change-Id: I4e8070f5bf58b7148f42717e82cb401b9c5c7be6
Signed-off-by: Hưng Phan <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Hưng Phan <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: Hưng Phan <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Co-authored-by: inthewaves <[email protected]>
Signed-off-by: Dmitrii <[email protected]>
Signed-off-by: Dmitrii <[email protected]>

Signed-off-by: Dmitrii <[email protected]>
[someone5678]: move reticker settings to configure_notification_settings

Signed-off-by: someone5678 <[email protected]>
Change-Id: Ifcc85f1c30319f5326ee057cceb44a6181c78967
* It's unjust to keep such useful feature hidden inside Accessibility.
  bringing it to display settings will make it visible and useful.

Change-Id: Ia1f09734acd0c071b640b0011133433720a42a73
Change-Id: I16f3e241d2d2a4a25977fe7428687b88c8fde0c6
Signed-off-by: Jason Edson <[email protected]>
[ghostrider-reborn: adapt to s-v2]

Change-Id: I2693a1f19a46bc6d0df8596e12bea8ca19914f13
Signed-off-by: jhonboy121 <[email protected]>
Signed-off-by: Adithya R <[email protected]>
Change-Id: If1676cfff603c4fd612ca6eda68ebdcb360054c5
Added reticker and sensors block for common social apps
* fingerprint: hide link icon when there's no link

Test: verify fingerprint setup doesn't have link icon without a link.
Change-Id: I040500615815ffe9256089a9bc11b07da783fa79

* Settings: Add peak refresh rate list preference

* AOSP "Smooth display" setting is just a toggle,
  some devices support multiple refresh rates so
  add support for it with a ListPreference.

Change-Id: I3da3d2b86e61ed3caf9af5770d8bdb4485817b97

* Settings: Add preference for KEY_MIN_REFRESH_RATE

Squashed with the following:

Author: LuK1337 <[email protected]>
Date:   Sun May 9 15:49:43 2021 +0200

    Settings: Remove dependency on pref object for min refresh rate isAvailable()

    Preference is not available during search indexing.

    Change-Id: Ia53aee2a0e4d3c6ef8a56d202af3da48cf6b1d0e

Author: LuK1337 <[email protected]>
Date:   Fri Nov 27 14:33:15 2020 +0100

    Settings: Pass Locale.US when formatting refresh rate string

    * Some locales use comma rather than dot for floating point numbers
      thus causing NumberFormatException when trying to convert string
      to float.
    * Also make sure to strip `,00` too when needed.

    Change-Id: I57d5606858587daf316194c87ece8b5e30423575

Change-Id: Iac1f65ab09717ea55a5b471e094385c77ba894ee

* Settings: Bring in missing lottie animations

 * Extracted from redfin b5 SettingsGoogle

Change-Id: Ifc81d60c1ab00caf6bf5b5242656e1d2c8186e3f
Signed-off-by: neobuddy89 <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>

* settings: display actual device peak refresh rate in summary

The hardcoded value of 90Hz might be incorrect for some devices.

Squashed with:
Author: Michael W <[email protected]>
Date:   Thu Oct 14 19:22:29 2021 +0200

    Fixup "settings: display actual device peak refresh rate in summary"

    This partially reverts commit 892841cc0bdbfab787a35952cb38e67ebcc07e9a.

    * peak_refresh_rate_summary ->
      peak_refresh_rate_summary_custom

    Change-Id: I11140715990215329a0813a232651bfbd230828d

Change-Id: I6074f081855f20f8c4b973e893175d9b0f79b3ab

* Settings: Add switch for linked ring and media notification volumes

Author: Dan Pasanen <[email protected]>
Date:   Wed Oct 30 09:22:30 2019 -0500

    VolumePanel: fix showing notification volume slider when unlinked

    * volume_link_notification lives in Settings.Secure not LineageSettings.Secure
    * Set max panel slices to 6. We could have up to 5 volumes to control and
      MEDIA_OUTPUT_INDICATOR_SLICE_URI counts as one slice as well.

    Change-Id: I0a4c7db1c92e778fba669931259cd52164b1df65

Settings: Use correct icon for ring volume

Author: Han Wang <[email protected]>
Date:   Tue Aug 4 13:33:45 2020 +0200

    Settings: Fix icon size for ring volume

    Change-Id: Idc62abbaea8d4d4ccb72f4a9f395ce0f861dc705

    Change-Id: If145262562c1409cd8a6cb79ba46b6646c75d1a8
    Signed-off-by: PMS22 <[email protected]>

Change-Id: I900af398f566a5415c44fe883cc214985f4e9cd4

* Settings: Add volume panel on left toggle [2/2]

Change-Id: I8534b53e58e99874d02546a3d0273fc2c18b1fc1
[marshmello61] Use overlay's value as default panel location

* fix name of switch

Signed-off-by: neobuddy89 <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
Co-authored-by: Timi Rautamäki <[email protected]>
Co-authored-by: Michael Bestas <[email protected]>
Co-authored-by: LuK1337 <[email protected]>
Co-authored-by: Adithya R <[email protected]>
Co-authored-by: Willy Gardiol <[email protected]>
Co-authored-by: Bruno Martins <[email protected]>
Co-authored-by: ganeshi4u <[email protected]>
Co-authored-by: estymaowiec <[email protected]>
Author: Bruno Martins <[email protected]>
Date:   Tue Mar 26 00:06:11 2019 +0000

    DisplaySettings: Hide high touch sensitivity from search if needed

     * Fixes: https://gitlab.com/LineageOS/issues/android/issues/260

    Change-Id: I98ce66dec9801c36da5a2facd6b033895b7963f0

Author: Bruno Martins <[email protected]>
Date:   Tue Mar 26 00:20:37 2019 +0000

    LanguageAndInputSettings: Hide touch hovering from search if needed

    Change-Id: I5d53946262919ff67be5e777654af2171ffd2a44

Change-Id: Ib8712d2d0c0fe4396dbea7c7fc130e0c253d3207
Change-Id: I86e85c5cd2cf462734ccad69b41b1977b32c7326
¯\_(ツ)_/¯

Signed-off-by: Chenyang Zhong <[email protected]>
Change-Id: Ifa821343222f9031eb9ddd65d5ef0fd7c931c629
Change-Id: Icee9efd0eda5c898cb611fea95abf36f21733125
(cherry picked from commit 50bfff56df24bef9caff343554b226be432c9852)
Added lineage touch hal and high poooling
Android 13.0.0 Release 8 (TP1A.221005.003)
@boludoz
Copy link

boludoz commented Oct 23, 2022

Screenshot_20221023-032614_Reddit.png

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.