From d73b71658d39384db8647c56c8a7f30805399a9b Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sun, 30 Aug 2020 17:58:11 +0900 Subject: [PATCH] Adding deprecation annotation before pushing --- app/src/main/java/awais/instagrabber/MainHelper.java | 1 + .../java/awais/instagrabber/activities/MainActivityBackup.java | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/java/awais/instagrabber/MainHelper.java b/app/src/main/java/awais/instagrabber/MainHelper.java index d67a4fee..41f2f08f 100755 --- a/app/src/main/java/awais/instagrabber/MainHelper.java +++ b/app/src/main/java/awais/instagrabber/MainHelper.java @@ -100,6 +100,7 @@ import static awais.instagrabber.utils.Constants.BOTTOM_TOOLBAR; import static awais.instagrabber.utils.Utils.logCollector; import static awais.instagrabber.utils.Utils.settingsHelper; +@Deprecated public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener { private static final String TAG = "MainHelper"; private static final double MAX_VIDEO_HEIGHT = 0.9 * Utils.displayMetrics.heightPixels; diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivityBackup.java b/app/src/main/java/awais/instagrabber/activities/MainActivityBackup.java index 6946a0c1..cc3b598a 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivityBackup.java +++ b/app/src/main/java/awais/instagrabber/activities/MainActivityBackup.java @@ -68,6 +68,7 @@ import static awais.instagrabber.utils.Utils.CHANNEL_ID; import static awais.instagrabber.utils.Utils.notificationManager; import static awais.instagrabber.utils.Utils.settingsHelper; +@Deprecated public final class MainActivityBackup extends BaseLanguageActivity { private static final int INITIAL_DELAY_MILLIS = 200; private static final int DELAY_MILLIS = 60000;