From fc70f4b96b24105599636ca7ee310a91ebe741ce Mon Sep 17 00:00:00 2001 From: jacques Date: Sun, 4 Jul 2021 22:21:22 +0200 Subject: [PATCH] Add todo comment for deprecated code. --- app/src/main/java/net/foucry/pilldroid/DrugListActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java index c9d3ef3..394a095 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java @@ -376,7 +376,7 @@ public class DrugListActivity extends AppCompatActivity { Context context = this; Intent intent = new Intent(context, DrugDetailActivity.class); intent.putExtra("drug", aDrug); - startActivityForResult(intent, CUSTOMIZED_REQUEST_CODE); + startActivityForResult(intent, CUSTOMIZED_REQUEST_CODE); // todo deprecated overridePendingTransition(R.anim.slide_from_right, R.anim.slide_to_left); } @@ -473,7 +473,7 @@ public class DrugListActivity extends AppCompatActivity { Context context = v.getContext(); Intent intent = new Intent(context, DrugDetailActivity.class); intent.putExtra("drug", drugCourant); - startActivityForResult(intent, CUSTOMIZED_REQUEST_CODE); + startActivityForResult(intent, CUSTOMIZED_REQUEST_CODE); // todo: deprecated overridePendingTransition(R.anim.slide_from_right, R.anim.slide_to_left); } });