Index: src/org/adblockplus/libadblockplus/ShowNotificationCallback.java |
diff --git a/src/org/adblockplus/libadblockplus/UpdateAvailableCallback.java b/src/org/adblockplus/libadblockplus/ShowNotificationCallback.java |
similarity index 89% |
copy from src/org/adblockplus/libadblockplus/UpdateAvailableCallback.java |
copy to src/org/adblockplus/libadblockplus/ShowNotificationCallback.java |
index b1fcb94d2e11904b84aa3fd63cca35d6c235c6ad..51ce8eff7c594e352faeefa71a1400c9de61de3a 100644 |
--- a/src/org/adblockplus/libadblockplus/UpdateAvailableCallback.java |
+++ b/src/org/adblockplus/libadblockplus/ShowNotificationCallback.java |
@@ -17,7 +17,7 @@ |
package org.adblockplus.libadblockplus; |
-public abstract class UpdateAvailableCallback implements Disposable |
+public abstract class ShowNotificationCallback implements Disposable |
{ |
private final Disposer disposer; |
protected final long ptr; |
@@ -28,13 +28,13 @@ public abstract class UpdateAvailableCallback implements Disposable |
registerNatives(); |
} |
- public UpdateAvailableCallback() |
+ public ShowNotificationCallback() |
{ |
this.ptr = ctor(this); |
this.disposer = new Disposer(this, new DisposeWrapper(this.ptr)); |
} |
- public abstract void updateAvailableCallback(String url); |
+ public abstract void showNotificationCallback(Notification jsValue); |
@Override |
public void dispose() |