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

Commit a7469ff3 authored by Roman Birg's avatar Roman Birg Committed by Gerrit - the friendly Code Review server
Browse files

Settings: apply default profile after resetting them



Change-Id: Ibdd09e069ec6c71b3e3f914614805b01bdf8a3dd
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent d0bfe570
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -204,6 +204,8 @@ public class ProfilesSettings extends SettingsPreferenceFragment
                    public void onClick(DialogInterface dialog, int id) {
                    public void onClick(DialogInterface dialog, int id) {
                        mProfileManager.resetAll();
                        mProfileManager.resetAll();
                        mAdapter.refreshProfiles();
                        mAdapter.refreshProfiles();
                        mProfileManager.setActiveProfile(
                                mProfileManager.getActiveProfile().getUuid());
                    }
                    }
                })
                })
                .setNegativeButton(R.string.cancel, null)
                .setNegativeButton(R.string.cancel, null)