Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Commit 775acf7

Browse files
author
TebbeUbben
committed
Clear hole back stack when deleting pairing
1 parent 9f9ea8b commit 775acf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/sugar/free/sightremote/activities/SettingsActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public boolean onPreferenceClick(Preference preference) {
7979
.setPositiveButton(R.string.yes, (dialog, which) -> {
8080
getSettingsActivity().getServiceConnector().reset();
8181
Intent intent = new Intent(getSettingsActivity(), SetupActivity.class);
82-
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
82+
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
8383
startActivity(intent);
8484
})
8585
.setNegativeButton(R.string.cancel, null)

0 commit comments

Comments
 (0)