Remove some dead code and add debug code.

This commit is contained in:
jacques 2021-02-07 21:52:01 +01:00
parent 602374522e
commit 757b5cf82b

View file

@ -107,6 +107,9 @@ public class MedicamentListActivity extends AppCompatActivity {
nm.cancelAll(); nm.cancelAll();
} }
// tuto
Log.i(TAG, "Launchd tuto");
startActivity(new Intent(this, WelcomeActivity.class));
//JobScheduler js = (JobScheduler) getSystemService(JOB_SCHEDULER_SERVICE); //JobScheduler js = (JobScheduler) getSystemService(JOB_SCHEDULER_SERVICE);
//if (js != null) { //if (js != null) {
// js.cancelAll(); // js.cancelAll();
@ -155,16 +158,6 @@ public class MedicamentListActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
// tuto
// prefManager = new PrefManager(this);
// if (!prefManager.isFirstTimeLaunch()) {
// WelcomeActivity welcomeActivity = new WelcomeActivity();
// Indent indent = new inden
// startActivity(new indent(welcomeActivity));
startActivity(new Intent(this, WelcomeActivity.class));
// finish();
// }
setContentView(R.layout.activity_medicament_list); setContentView(R.layout.activity_medicament_list);
dbHelper = new DBHelper(this); dbHelper = new DBHelper(this);