From 757b5cf82b243ddb51ea65a9b0f2cc0444e23620 Mon Sep 17 00:00:00 2001 From: jacques Date: Sun, 7 Feb 2021 21:52:01 +0100 Subject: [PATCH] Remove some dead code and add debug code. --- .../foucry/pilldroid/MedicamentListActivity.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java b/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java index 6ee45bb..d517dd9 100644 --- a/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java @@ -107,6 +107,9 @@ public class MedicamentListActivity extends AppCompatActivity { nm.cancelAll(); } + // tuto + Log.i(TAG, "Launchd tuto"); + startActivity(new Intent(this, WelcomeActivity.class)); //JobScheduler js = (JobScheduler) getSystemService(JOB_SCHEDULER_SERVICE); //if (js != null) { // js.cancelAll(); @@ -155,16 +158,6 @@ public class MedicamentListActivity extends AppCompatActivity { protected void onCreate(Bundle 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); dbHelper = new DBHelper(this);