Skip to content

Commit 23aa3eb

Browse files
authored
Merge pull request #85 from Leanplum/feature/webInterstitial-deprecation
feat(deprecation): removing deprecated methods toArgs and register fr…
2 parents 763398c + 0ddd0c0 commit 23aa3eb

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

AndroidSDK/src/com/leanplum/messagetemplates/WebInterstitial.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public WebInterstitial(Activity activity, WebInterstitialOptions options) {
4343
this.webOptions = options;
4444
}
4545

46-
/**
47-
* Deprecated: Use {@link WebInterstitial#register()}.
48-
*/
49-
@Deprecated
50-
@SuppressWarnings("unused")
51-
public static void register(Context currentContext) {
52-
register();
53-
}
54-
5546
public static void register() {
5647
Leanplum.defineAction(NAME, Leanplum.ACTION_KIND_MESSAGE | Leanplum.ACTION_KIND_ACTION,
5748
WebInterstitialOptions.toArgs(), new ActionCallback() {

AndroidSDK/src/com/leanplum/messagetemplates/WebInterstitialOptions.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ private void setCloseUrl(String closeUrl) {
6969
this.closeUrl = closeUrl;
7070
}
7171

72-
/**
73-
* Deprecated: Use {@link WebInterstitialOptions#toArgs()}.
74-
*/
75-
@Deprecated
76-
@SuppressWarnings("unused")
77-
public static ActionArgs toArgs(Context currentContext) {
78-
return toArgs();
79-
}
80-
8172
public static ActionArgs toArgs() {
8273
return new ActionArgs()
8374
.with(Args.URL, Values.DEFAULT_URL)

0 commit comments

Comments
 (0)