Refactored code

git-svn-id: https://forja.rediris.es/svn/cusl6-swadroid/trunk@151 5bc14d19-1e4b-4ba2-aa50-860af135f48c
This commit is contained in:
Juan Miguel Boyero Corral 2011-11-22 22:14:10 +00:00
parent 73078415e0
commit 392b057c84

View File

@ -170,14 +170,12 @@ public class SWADMain extends ExpandableListActivity {
Intent activity;
if(keyword.equals(getString(R.string.notificationsModuleLabel)))
{
activity = new Intent(getBaseContext(),
Notifications.class);
activity = new Intent(getBaseContext(), Notifications.class);
startActivityForResult(activity, Global.NOTIFICATIONS_REQUEST_CODE);
} else if(keyword.equals(getString(R.string.testsModuleLabel))) {
activity = new Intent(getBaseContext(),
Tests.class);
startActivityForResult(activity, Global.TESTS_REQUEST_CODE);
activity = new Intent(getBaseContext(), Tests.class);
startActivityForResult(activity, Global.TESTS_REQUEST_CODE);
/*Toast.makeText(this, keyword + " aún no implementado", Toast.LENGTH_LONG)
.show();*/
}