Bug 1474633 - Check if pager navigation is null before calling it. r=jchen
authorVlad Baicu <vlad.baicu@softvision.ro>
Thu, 23 Aug 2018 20:56:01 +0000
changeset 491051 e0155c8c93a99553f38c3602a5ed59da1f3000ea
parent 491050 624a0fcb6618d573f54dc9b38b95e2cb5ff4df6a
child 491052 90c9f876bbb05b9362d7af9008ef12098cc71e74
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1474633
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1474633 - Check if pager navigation is null before calling it. r=jchen Check if pager navigation is null before calling it. Differential Revision: https://phabricator.services.mozilla.com/D4092
mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPanel.java
--- a/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPanel.java
+++ b/mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunPanel.java
@@ -40,17 +40,17 @@ public class FirstrunPanel extends Fragm
             ((TextView) root.findViewById(R.id.firstrun_text)).setText(message);
             ((TextView) root.findViewById(R.id.firstrun_subtext)).setText(subtext);
         }
 
         root.findViewById(R.id.firstrun_link).setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View v) {
                 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.BUTTON, "firstrun-next");
-                pagerNavigation.next();
+                next();
             }
         });
 
         return root;
     }
 
     public interface PagerNavigation {
         void next();