1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-03 17:59:41 +02:00

Fix backbutton behaviour

- close on MainActivity when back pressed
- clear NavStack on rotation
This commit is contained in:
Christian Schabesberger 2017-03-09 16:01:09 +01:00
parent 483fde5e42
commit a8ff4b0744
2 changed files with 5 additions and 10 deletions

View file

@ -85,9 +85,4 @@ public class MainActivity extends AppCompatActivity {
return super.onOptionsItemSelected(item);
}
}
@Override
public void onBackPressed() {
//ignore back
}
}