Commit 6f294325 by Kazuyuki Hida

不要なコードを削除

parent d3aea6cc
...@@ -140,9 +140,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity { ...@@ -140,9 +140,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
protected void doShowMainActivity() { protected void doShowMainActivity() {
startActivity(new Intent().setClassName(getApplicationContext().getPackageName(), getMainActivityClassName()).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP), NaviConsts.Right); startActivity(new Intent().setClassName(getApplicationContext().getPackageName(), getMainActivityClassName()).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP), NaviConsts.Right);
if (!(this instanceof LoginActivity)) { finish();
finish();
}
Intent intent = new Intent(); Intent intent = new Intent();
getApplicationContext().sendBroadcast(intent); getApplicationContext().sendBroadcast(intent);
} }
...@@ -511,9 +509,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity { ...@@ -511,9 +509,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
} }
} }
startActivity(intent); startActivity(intent);
if (! (this instanceof LoginActivity)) { finish();
finish();
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment