Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b1d1e21 authored by Jason Chiu's avatar Jason Chiu
Browse files

Align the items in account sync page to the start border

The prefernces haven't been applied to the SettingsLib preference theme
which sets iconSpaceReserved false.

Fixes: 187670431
Test: visual, robotest
Change-Id: Ifa797fbec4f207248fd0254e26d456b8889e25d8
parent 5e92366f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
        <item name="android:layout">@layout/preference_widget_seekbar_settings</item>
    </style>

    <style name="SyncSwitchPreference" parent="@style/Preference.Material">
    <style name="SyncSwitchPreference" parent="@style/SettingsSwitchPreference.SettingsLib">
        <item name="android:widgetLayout">@layout/preference_widget_sync_toggle</item>
    </style>

+0 −1
Original line number Diff line number Diff line
@@ -58,7 +58,6 @@ public class AccountTypePreferenceLoader {
    private static final String LAUNCHING_LOCATION_SETTINGS =
        "com.android.settings.accounts.LAUNCHING_LOCATION_SETTINGS";


    private AuthenticatorHelper mAuthenticatorHelper;
    private UserHandle mUserHandle;
    private PreferenceFragmentCompat mFragment;