diff --git a/mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java b/mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java index f319e1370524..faf6c00c20e2 100644 --- a/mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java +++ b/mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java @@ -64,7 +64,7 @@ public class MmaDelegate { if (value) { mmaHelper.init(activity); if (!isDefaultBrowser(activity)) { - mmaHelper.track(MmaDelegate.LAUNCH_BUT_NOT_DEFAULT_BROWSER); + mmaHelper.event(MmaDelegate.LAUNCH_BUT_NOT_DEFAULT_BROWSER); } isGeckoPrefOn = true; } else { @@ -79,13 +79,13 @@ public class MmaDelegate { public static void track(String event) { if (isMmaEnabled()) { - mmaHelper.track(event); + mmaHelper.event(event); } } public static void track(String event, long value) { if (isMmaEnabled()) { - mmaHelper.track(event, value); + mmaHelper.event(event, value); } } diff --git a/mobile/android/base/java/org/mozilla/gecko/mma/MmaInterface.java b/mobile/android/base/java/org/mozilla/gecko/mma/MmaInterface.java index 6d8e62a8a244..4333399adb18 100644 --- a/mobile/android/base/java/org/mozilla/gecko/mma/MmaInterface.java +++ b/mobile/android/base/java/org/mozilla/gecko/mma/MmaInterface.java @@ -7,7 +7,6 @@ package org.mozilla.gecko.mma; import android.app.Activity; -import android.app.Application; import android.content.Context; @@ -16,9 +15,9 @@ public interface MmaInterface { void start(Context context); - void track(String mmaEvent); + void event(String mmaEvent); - void track(String mmaEvent, double value); + void event(String mmaEvent, double value); void stop(); } diff --git a/mobile/android/base/java/org/mozilla/gecko/mma/MmaLeanplumImp.java b/mobile/android/base/java/org/mozilla/gecko/mma/MmaLeanplumImp.java index aa66e62236ec..95388402e8da 100644 --- a/mobile/android/base/java/org/mozilla/gecko/mma/MmaLeanplumImp.java +++ b/mobile/android/base/java/org/mozilla/gecko/mma/MmaLeanplumImp.java @@ -82,13 +82,13 @@ public class MmaLeanplumImp implements MmaInterface { } @Override - public void track(String leanplumEvent) { + public void event(String leanplumEvent) { Leanplum.track(leanplumEvent); } @Override - public void track(String leanplumEvent, double value) { + public void event(String leanplumEvent, double value) { Leanplum.track(leanplumEvent, value); } diff --git a/mobile/android/base/java/org/mozilla/gecko/mma/MmaStubImp.java b/mobile/android/base/java/org/mozilla/gecko/mma/MmaStubImp.java index a4252075694f..8f4bb727a3ba 100644 --- a/mobile/android/base/java/org/mozilla/gecko/mma/MmaStubImp.java +++ b/mobile/android/base/java/org/mozilla/gecko/mma/MmaStubImp.java @@ -23,12 +23,12 @@ public class MmaStubImp implements MmaInterface { } @Override - public void track(String leanplumEvent) { + public void event(String leanplumEvent) { } @Override - public void track(String leanplumEvent, double value) { + public void event(String leanplumEvent, double value) { }