Bug 1474633 - Check if pager navigation is null before calling it. r=jchen, a=RyanVM FIREFOX_62b_RELBRANCH FENNEC_62_0b21_BUILD1 FENNEC_62_0b21_RELEASE
authorVlad Baicu <vlad.baicu@softvision.ro>
Thu, 23 Aug 2018 20:56:01 +0000
branchFIREFOX_62b_RELBRANCH
changeset 488530 9f4fd933ca7e9e72a477a956c2c35b669a3d58b8
parent 488529 f4202c0661237e8dc7414a8ad51687332782ae28
push id9728
push userryanvm@gmail.com
push dateMon, 27 Aug 2018 14:41:36 +0000
treeherdermozilla-beta@9f4fd933ca7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen, RyanVM
bugs1474633
milestone62.0
Bug 1474633 - Check if pager navigation is null before calling it. r=jchen, a=RyanVM 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(textRes);
             ((TextView) root.findViewById(R.id.firstrun_subtext)).setText(subtextRes);
         }
 
         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();