mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
Don't allow back button presses in AuthActivity
This commit is contained in:
parent
302c4802b7
commit
1deb8910b0
2 changed files with 5 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue