Settings: Fix stray divider in connected devices screen

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>
This commit is contained in:
Danny Lin
2020-10-08 23:56:16 -07:00
committed by Joey
parent 95c7375afc
commit a2c2c19950

View File

@@ -23,7 +23,6 @@
<com.android.settings.slices.SlicePreference
android:key="bt_nearby_slice"
android:title="@string/summary_placeholder"
settings:allowDividerBelow="true"
settings:controller="com.android.settings.slices.SlicePreferenceController" />
<Preference