Skip to content

Commit

Permalink
Updated deprecation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Nov 7, 2024
1 parent fad61a8 commit 96ceefe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Branch-SDK/src/main/java/io/branch/referral/Branch.java
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ public static void setCDNBaseUrl(String url) {
* @param callback An optional {@link TrackingStateCallback} instance for receiving callback notifications about
* the change in tracking state. This parameter can be {@code null} if no callback actions are needed.
* @deprecated Use {@link #setConsumerProtectionAttributionLevel(Defines.BranchAttributionLevel)}
* with {@code Defines.BranchAttributionLevel.NONE} instead to disable tracking.
* with {@link Defines.BranchAttributionLevel#NONE} instead to disable tracking.
* */
@Deprecated public void disableTracking(boolean disableTracking, @Nullable TrackingStateCallback callback) {
trackingController.disableTracking(context_, disableTracking, callback);
Expand All @@ -553,7 +553,7 @@ public static void setCDNBaseUrl(String url) {
* @param disableTracking A boolean value indicating whether tracking should be disabled ({@code true}) or enabled
* ({@code false}).
* @deprecated Use {@link #setConsumerProtectionAttributionLevel(Defines.BranchAttributionLevel)}
* with {@code Defines.BranchAttributionLevel.NONE} instead to disable tracking.
* with {@link Defines.BranchAttributionLevel#NONE} instead to disable tracking.
* */
@Deprecated public void disableTracking(boolean disableTracking) {
disableTracking(disableTracking, null);
Expand Down

0 comments on commit 96ceefe

Please sign in to comment.