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

Commit 06791cf7 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

Revert "Settings: fix potential NPE when resetting profiles"

This reverts commit 9e729a24.

Change-Id: I8f7598803db143433cdcd85e99874b389b0c2af7
parent 77f2e04f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -207,6 +207,7 @@ public class ProfilesSettings extends SettingsPreferenceFragment
                    @Override
                    public void onClick(DialogInterface dialog, int id) {
                        mProfileManager.resetAll();
                        mAdapter.refreshProfiles();
                        mProfileManager.setActiveProfile(
                                mProfileManager.getActiveProfile().getUuid());
                    }