Commit fc1fed0d8294849ee86d223487ad7ec71a1f4379

Authored by JLo'w
1 parent 28dc4009

Restons cohérent

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 60 setContentView(R.layout.layout_main);
61 61 PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
62 62  
  63 + setTitle("Geoffrey la pute");
  64 +
63 65 mState = STATE_RIEN;
64 66 mTimeToken = -1;
65   - mToken = "";
  67 + mToken = null;
66 68  
67 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 375 mToken = null;
374 376 mDroit = 0;
375 377 mUser = null;
376   - mTimeToken = 0;
  378 + mTimeToken = -1;
377 379  
378 380 Toast.makeText(this, "Veuillez vous reconnecter.", Toast.LENGTH_SHORT).show();
379 381 final ViewPager viewPager = (ViewPager) findViewById(R.id.pager);
... ...