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

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

Issue 5928376401395712: Disable the start pane (Closed)
Patch Set: Make the change in GeckoProfile.java rather than BrowserApp.java Created March 2, 2015, 10:01 a.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/GeckoProfile.java
===================================================================
--- a/mobile/android/base/GeckoProfile.java
+++ b/mobile/android/base/GeckoProfile.java
@@ -657,11 +657,8 @@
Log.w(LOGTAG, "Couldn't write times.json.", e);
}
- // Initialize pref flag for displaying the start pane for a new non-webapp profile.
- if (!mIsWebAppProfile) {
- final SharedPreferences prefs = GeckoSharedPrefs.forProfile(mApplicationContext);
- prefs.edit().putBoolean(BrowserApp.PREF_STARTPANE_ENABLED, true).apply();
- }
+ // PREF_STARTPANE_ENABLED was set to true for non-webapp profiles here.
+ // In Adblock Browser however, we never want to see the start pane.
return profileDir;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld