mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 14:44:26 +00:00
Bug 1093619 - Don't display onboarding screen for Webapp profiles. r=margaret
This commit is contained in:
parent
d2e5c28814
commit
fa61170bfe
@ -693,9 +693,11 @@ public final class GeckoProfile {
|
||||
Log.w(LOGTAG, "Couldn't write times.json.", e);
|
||||
}
|
||||
|
||||
// Initialize pref flag for displaying the start pane for a new profile.
|
||||
final SharedPreferences prefs = GeckoSharedPrefs.forProfile(mApplicationContext);
|
||||
prefs.edit().putBoolean(BrowserApp.PREF_STARTPANE_ENABLED, true).apply();
|
||||
// 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();
|
||||
}
|
||||
|
||||
return profileDir;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user