Don't allow back button presses in AuthActivity

This commit is contained in:
Alexander Bakker 2017-08-13 19:55:53 +02:00
parent 302c4802b7
commit 1deb8910b0
2 changed files with 5 additions and 2 deletions

View file

@ -62,6 +62,11 @@ public class AuthActivity extends AppCompatActivity {
});
}
@Override
public void onBackPressed() {
// ignore back button presses
}
private char[] getPassword(boolean clear) {
char[] password = getEditTextChars(textPassword);
if (clear) {

View file

@ -34,8 +34,6 @@ public class IntroActivity extends AppIntro {
showSkipButton(false);
//showPagerIndicator(false);
setGoBackLock(true);
// TODO: remove this once github.com/apl-devs/AppIntro/issues/347 is fixed
setSwipeLock(true);
SliderPage homeSliderPage = new SliderPage();
homeSliderPage.setTitle("Welcome");