mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 23:12:51 +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) {
|
private char[] getPassword(boolean clear) {
|
||||||
char[] password = getEditTextChars(textPassword);
|
char[] password = getEditTextChars(textPassword);
|
||||||
if (clear) {
|
if (clear) {
|
||||||
|
|
|
@ -34,8 +34,6 @@ public class IntroActivity extends AppIntro {
|
||||||
showSkipButton(false);
|
showSkipButton(false);
|
||||||
//showPagerIndicator(false);
|
//showPagerIndicator(false);
|
||||||
setGoBackLock(true);
|
setGoBackLock(true);
|
||||||
// TODO: remove this once github.com/apl-devs/AppIntro/issues/347 is fixed
|
|
||||||
setSwipeLock(true);
|
|
||||||
|
|
||||||
SliderPage homeSliderPage = new SliderPage();
|
SliderPage homeSliderPage = new SliderPage();
|
||||||
homeSliderPage.setTitle("Welcome");
|
homeSliderPage.setTitle("Welcome");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue