Index: mobile/android/base/BrowserApp.java |
diff --git a/mobile/android/base/BrowserApp.java b/mobile/android/base/BrowserApp.java |
index 3c729296fdedd10ae2496f13ef9d6164770880a1..821ac6df3337cf09c3e2368481fe90ef3a7819eb 100644 |
--- a/mobile/android/base/BrowserApp.java |
+++ b/mobile/android/base/BrowserApp.java |
@@ -101,6 +101,7 @@ import android.nfc.NfcEvent; |
import android.os.Build; |
import android.os.Bundle; |
import android.os.StrictMode; |
+import android.support.v4.app.DialogFragment; |
import android.support.v4.app.Fragment; |
import android.support.v4.app.FragmentManager; |
import android.text.TextUtils; |
@@ -2449,6 +2450,16 @@ public class BrowserApp extends GeckoApp |
} |
private void showFirstrunPager() { |
+ final DialogFragment dialog = new org.adblockplus.browser.StartPane(); |
+ dialog.show(getSupportFragmentManager(), "start_pane"); |
+ |
+ // Exiting here because we want to show our first run page instead of Mozilla's |
+ // see https://issues.adblockplus.org/ticket/2774 |
+ if (true) |
+ { |
+ return; |
+ } |
+ |
if (mFirstrunPane == null) { |
final ViewStub firstrunPagerStub = (ViewStub) findViewById(R.id.firstrun_pager_stub); |
mFirstrunPane = (FirstrunPane) firstrunPagerStub.inflate(); |