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>
Added validation and fallback for battery divider to prevent division errors and ensure reasonable values.
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
Remove orphaned "/>" tag that was causing incorrect XML layout structure
in the landscape layout file for mode interstitial.
Test: Settings layout renders correctly in landscape mode
Change-Id: I758b892da3591a058b05161665002aa4852ccf7c
Log:
time: 1756667643368
msg: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
stacktrace: java.lang.IllegalStateException: Default drop down view should be a TextView,
at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:150)
at android.widget.Spinner$DropDownAdapter.getDropDownView(Spinner.java:1032)
at android.widget.Spinner$DropDownAdapter.getView(Spinner.java:1028)
at android.widget.Spinner.measureContentWidth(Spinner.java:889)
at android.widget.Spinner$DropdownPopup.computeContentWidth(Spinner.java:1265)
at android.widget.Spinner$DropdownPopup.show(Spinner.java:1291)
at android.widget.Spinner.performClick(Spinner.java:797)
at android.view.View.performClickInternal(View.java:8060)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:31554)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:9068)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:148)
... 17 more
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
On some devices, udfps is kinda near to nav bar
so the enroll circle ends up behind the nav bar
and that looks not good.
Change-Id: I5184f8e8c34693d145199c2081e543656d8d702c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
It doesn't make sense to show it only when there is a vibration-
supported input device, because that makes the setting not
discoverable.
Change-Id: Ib4a5021007edb08bc3ecfda1967588f7f9825db8
* 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