Adds the share toggle and checks if there is a conflict when user
attempts to change the toggle. In case of a conflict, an alert dialog in shown
to the user.
Bug: 409845756
Flag: com.android.settings.connectivity.wifi_multiuser
Test: Manual testing
Change-Id: Ia57b967ad933ebb19f27f1e50d6a69210b84ac4c
This CL adds the toggle and its associated controller. Controller reads
and sets the toggle in the WifiEntry.
Bug: 409845916
Flag: com.android.settings.connectivity.wifi_multiuser
Test: Manual testing
Change-Id: I39b2b991acd1e53acc5c9cf12329e08b3f900ea0
Includes:
- Per-app refresh rate config
- Extreme refresh rate (Force all apps to run in maximum refresh rate)
- Temp refresh rate allowed (Used in MEMC)
- Refresh rate QS tile
Change-Id: I30024eb8ce63f00a6f2fa1ea0230b004ff93ac74
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create BasePerAppConfigFragment
* Allow more preference types instead of only ListPreference.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create PerAppSwitchConfigFragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Add top info for per-app settings
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Don't show system apps for sensor block fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Pass uid in per-app config fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Allow specific allowed system app list for per-app fragment
* We need to allow dialer/messages/contact for fullscreen display settings.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Make sure per-app list has no duplicates
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Warn user app reload before switching fullscreen display
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Adapt for Android U QPR2
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Use ArrayMap/Set instead of HashMap/Set
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
[joeyhuab: Squashed all changes by same author]
Settings: Add null check for PreferenceScreen in BasePerAppConfigFragment
Co-authored-by: NurKeinNeid <nurkeinneid@derpfest.org>
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
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
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Moved to just disabling most of the controllers for android10
instead of deleting all the preferences.
Change-Id: If4d73b6c5351d8f39fb672713dbe26ff9a225240
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
* Animation by Sahul Krishan
* Adapt to Android 11 by @mickaelmendes50
[Hernán Castañón] Adaptive Playback: allow choosing no timeout.
Co-authored-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9
AdaptivePlayback: Add a intro text to the fragment
* Let's help users to understand what the feature does
by adding a little introduction text.
Change-Id: Ie9ef15d7f60ab2197c30c79434c9fb876c498cd5
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>
Signed-off-by: Mesquita <mesquita@aospa.co>
Settings: Move "Adaptive Playback" option to Sound Settings.
* Our gestures category looks bloated with features.
Move this to Sound Settings where it feels better and more homely.
Change-Id: I28fd022a4998141435a1e89a027b7a1fe6f75537
Signed-off-by: Mesquita <mesquita@aospa.co>
AdaptivePlayback: Rename it to 'Smart Pause' to keep a better fluency
* As we already have an 'Adaptive Sound' in sound settings
Change-Id: Iaca4b7d65fe490ee6462ba49907316930deaeaa5
Signed-off-by: Mesquita <mesquita@aospa.co>
Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9
AICP Pie: Modified defaults to false.
Brought up to 10 with androidx
@jhenrique09 edits: Adapt strings, and also use config_pocketModeSupported on isAvailable
Change-Id: I398c8f0be23c27cbcf1fb57eed44a801b31bc6c9
Settings: Remove pocket lock toggle icons
* Also move it to lockscreen settings
Change-Id: Iae8a6b4739c317e723c0cfad46db5ceb494f74f8
Signed-off-by: Dmitrii <bankersenator@gmail.com>
* [joeyhuab] Adapt to A16; Remove MainSwitchPreference.updateStatus like 041bc113eb
Separate configs for st2w and lift to wake
Follow our convention in the rest of the switches in that page
Change-Id: Ibd82d808aca2caf3f9c4518eb0c2e5f60669759e
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>