Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Add @deprecated annotations to the public API (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovgs authored and Serchinastico committed Feb 27, 2017
1 parent 372aa2d commit da25070
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dexter/src/main/java/com/karumi/dexter/Dexter.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,18 @@ public DexterBuilder.MultiPermissionListener withPermissions(Collection<String>
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());
}
Expand Down

0 comments on commit da25070

Please sign in to comment.