Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit d121531

Browse files
committed
Stop overriding onBackPressed so I can leave the damn application
1 parent f65d95d commit d121531

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/com/uwflow/flow_android/MainFlowActivity.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
287287
return super.onOptionsItemSelected(item);
288288
}
289289

290-
@Override
291-
public void onBackPressed() {
292-
FragmentManager fragmentManager = getSupportFragmentManager();
293-
if (fragmentManager.getBackStackEntryCount() > 0){
294-
super.onBackPressed();
295-
}
296-
}
297-
298290
@Override
299291
protected void onNewIntent(Intent intent) {
300292
super.onNewIntent(intent);

0 commit comments

Comments
 (0)