Bug 1261811 - Send LOAD_URL telemetry for content notifications. r?margaret draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Tue, 05 Apr 2016 13:23:19 +0200
changeset 347598 b45b080dfcf338e69f89bb00d394e1a8e2b0563d
parent 347396 38ee8634a647f86264120b70a28f8703b80d0657
child 517669 e8979e31d7e417cad83f1251613043d3f338497e
push id14622
push users.kaspari@gmail.com
push dateTue, 05 Apr 2016 11:23:37 +0000
reviewersmargaret
bugs1261811
milestone48.0a1
Bug 1261811 - Send LOAD_URL telemetry for content notifications. r?margaret MozReview-Commit-ID: W3ANFsjvvS
mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -3787,16 +3787,17 @@ public class BrowserApp extends GeckoApp
             List<String> urls = intent.getStringArrayListExtra("urls");
             if (urls != null) {
                 openUrls(urls);
             }
 
             // Launched from a "content notification"
             if (intent.hasExtra(CheckForUpdatesAction.EXTRA_CONTENT_NOTIFICATION)) {
                 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.NOTIFICATION, "content_update");
+                Telemetry.sendUIEvent(TelemetryContract.Event.LOAD_URL, TelemetryContract.Method.INTENT, "content_update");
             }
         }
 
         if (!mInitialized || !Intent.ACTION_MAIN.equals(action)) {
             return;
         }
 
         // Check to see how many times the app has been launched.