1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-12-04 13:18:16 -05:00

Slight bug fix

Prevents user from moving backward to a list that does not have items
checked.
This commit is contained in:
DjBushido 2014-04-28 12:32:04 -04:00
parent d386b0b346
commit dba76dd0a6

View File

@ -15,6 +15,7 @@ import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewDebug.FlagToString;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.TextView;
@ -46,6 +47,7 @@ public class FoundActivity extends Activity {
@Override
public void onClick(View v) {
intent = new Intent(FoundActivity.this, MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // Clear the back stack
startActivity(intent);
finish();
}