Commit fc1fed0d8294849ee86d223487ad7ec71a1f4379
1 parent
28dc4009
Restons cohérent
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
PremiereActivite/app/src/main/java/com/example/app_10p5/MainActivite.java
@@ -60,9 +60,11 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr | @@ -60,9 +60,11 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr | ||
60 | setContentView(R.layout.layout_main); | 60 | setContentView(R.layout.layout_main); |
61 | PreferenceManager.setDefaultValues(this, R.xml.preferences, false); | 61 | PreferenceManager.setDefaultValues(this, R.xml.preferences, false); |
62 | 62 | ||
63 | + setTitle("Geoffrey la pute"); | ||
64 | + | ||
63 | mState = STATE_RIEN; | 65 | mState = STATE_RIEN; |
64 | mTimeToken = -1; | 66 | mTimeToken = -1; |
65 | - mToken = ""; | 67 | + mToken = null; |
66 | 68 | ||
67 | getActionBar().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.colorPrimary))); | 69 | getActionBar().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.colorPrimary))); |
68 | 70 | ||
@@ -373,7 +375,7 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr | @@ -373,7 +375,7 @@ public class MainActivite extends Activity implements ASyncResponse, main_tab_fr | ||
373 | mToken = null; | 375 | mToken = null; |
374 | mDroit = 0; | 376 | mDroit = 0; |
375 | mUser = null; | 377 | mUser = null; |
376 | - mTimeToken = 0; | 378 | + mTimeToken = -1; |
377 | 379 | ||
378 | Toast.makeText(this, "Veuillez vous reconnecter.", Toast.LENGTH_SHORT).show(); | 380 | Toast.makeText(this, "Veuillez vous reconnecter.", Toast.LENGTH_SHORT).show(); |
379 | final ViewPager viewPager = (ViewPager) findViewById(R.id.pager); | 381 | final ViewPager viewPager = (ViewPager) findViewById(R.id.pager); |