From da25070dfd2dec71b524f879ff8c558064935971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Vicente=20G=C3=B3mez=20S=C3=A1nchez?= Date: Mon, 27 Feb 2017 10:55:12 +0100 Subject: [PATCH] Add @Deprecated annotations to the public API (#115) --- dexter/src/main/java/com/karumi/dexter/Dexter.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dexter/src/main/java/com/karumi/dexter/Dexter.java b/dexter/src/main/java/com/karumi/dexter/Dexter.java index 32cee2e7..538a72d9 100644 --- a/dexter/src/main/java/com/karumi/dexter/Dexter.java +++ b/dexter/src/main/java/com/karumi/dexter/Dexter.java @@ -73,10 +73,18 @@ public DexterBuilder.MultiPermissionListener withPermissions(Collection return this; } + /** + * @deprecated This method is going to be removed in the next major version. + */ + @Deprecated @Override public void continueRequestingPendingPermissions(PermissionListener listener) { instance.continuePendingRequestIfPossible(listener, ThreadFactory.makeMainThread()); } + /** + * @deprecated This method is going to be removed in the next major version. + */ + @Deprecated @Override public void continueRequestingPendingPermissions(MultiplePermissionsListener listener) { instance.continuePendingRequestsIfPossible(listener, ThreadFactory.makeMainThread()); }