|
|
@ -372,7 +372,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
|
|
|
|
|
|
|
|
private void checkAuthentication(boolean auth) {
|
|
|
|
private void checkAuthentication(boolean auth) {
|
|
|
|
if (!this.getClass().equals(ActivityMain.class) &&
|
|
|
|
if (!this.getClass().equals(ActivityMain.class) &&
|
|
|
|
Helper.shouldAuthenticate(this, false)) {
|
|
|
|
Helper.shouldAuthenticate(this, !auth)) {
|
|
|
|
finishAndRemoveTask();
|
|
|
|
finishAndRemoveTask();
|
|
|
|
setResult(RESULT_CANCELED);
|
|
|
|
setResult(RESULT_CANCELED);
|
|
|
|
finishAffinity();
|
|
|
|
finishAffinity();
|
|
|
|