Browse Source

Adding deprecation annotation before pushing

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
d73b71658d
  1. 1
      app/src/main/java/awais/instagrabber/MainHelper.java
  2. 1
      app/src/main/java/awais/instagrabber/activities/MainActivityBackup.java

1
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.logCollector;
import static awais.instagrabber.utils.Utils.settingsHelper; import static awais.instagrabber.utils.Utils.settingsHelper;
@Deprecated
public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener { public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener {
private static final String TAG = "MainHelper"; private static final String TAG = "MainHelper";
private static final double MAX_VIDEO_HEIGHT = 0.9 * Utils.displayMetrics.heightPixels; private static final double MAX_VIDEO_HEIGHT = 0.9 * Utils.displayMetrics.heightPixels;

1
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.notificationManager;
import static awais.instagrabber.utils.Utils.settingsHelper; import static awais.instagrabber.utils.Utils.settingsHelper;
@Deprecated
public final class MainActivityBackup extends BaseLanguageActivity { public final class MainActivityBackup extends BaseLanguageActivity {
private static final int INITIAL_DELAY_MILLIS = 200; private static final int INITIAL_DELAY_MILLIS = 200;
private static final int DELAY_MILLIS = 60000; private static final int DELAY_MILLIS = 60000;

Loading…
Cancel
Save