Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/base/BrowserApp.java

Issue 29322349: Issue 2774 - Make the first run page work again (Closed)
Patch Set: Created July 14, 2015, 6:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/base/BrowserApp.java
diff --git a/mobile/android/base/BrowserApp.java b/mobile/android/base/BrowserApp.java
index 3c729296fdedd10ae2496f13ef9d6164770880a1..72e51d0b37adc3491a634702d730e66f94a1c7ba 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,10 @@ public class BrowserApp extends GeckoApp
}
private void showFirstrunPager() {
+ final DialogFragment dialog = new org.adblockplus.browser.StartPane();
+ dialog.show(getSupportFragmentManager(), "start_pane");
+/*
Felix Dahlke 2015/07/20 08:14:22 Instead of commenting this out, we could do someth
René Jeschke 2015/07/20 16:48:36 Done.
+ Removed to revert to previous start pane behaviour, see https://issues.adblockplus.org/ticket/2774
Felix Dahlke 2015/07/20 08:14:22 At this point this "start pane" is just ours - and
René Jeschke 2015/07/20 16:48:36 Done.
if (mFirstrunPane == null) {
final ViewStub firstrunPagerStub = (ViewStub) findViewById(R.id.firstrun_pager_stub);
mFirstrunPane = (FirstrunPane) firstrunPagerStub.inflate();
@@ -2462,6 +2467,7 @@ public class BrowserApp extends GeckoApp
}
mHomePagerContainer.setVisibility(View.VISIBLE);
+*/
}
private void showHomePager(String panelId) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld