Bug 1093621 - Enable new tablet UI by default in Nightly (r=mcomella)

This commit is contained in:
Lucas Rocha 2014-11-04 18:06:08 +00:00
parent c2a010a4aa
commit a3f41af389
2 changed files with 6 additions and 3 deletions

View File

@ -7,12 +7,15 @@ package org.mozilla.gecko;
import android.content.Context;
import android.content.SharedPreferences;
import org.mozilla.gecko.AppConstants;
import org.mozilla.gecko.preferences.GeckoPreferences;
import org.mozilla.gecko.util.HardwareUtils;
public class NewTabletUI {
// This value should be in sync with preferences_display.xml.
private static final boolean DEFAULT = false;
// This value should be in sync with preferences_display.xml. On non-release
// builds, the preference UI will be hidden and the (unused) default
// preference UI value will still be 'true'.
private static final boolean DEFAULT = !AppConstants.RELEASE_BUILD;
private static Boolean sNewTabletUI;

View File

@ -27,7 +27,7 @@
<CheckBoxPreference android:key="android.not_a_preference.new_tablet_ui"
android:title="@string/new_tablet_pref"
android:defaultValue="false" />
android:defaultValue="true" />
<PreferenceCategory android:title="@string/pref_category_advanced">