diff --git a/mobile/android/base/NewTabletUI.java b/mobile/android/base/NewTabletUI.java
index 887034a809b0..41c1ac34e741 100644
--- a/mobile/android/base/NewTabletUI.java
+++ b/mobile/android/base/NewTabletUI.java
@@ -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;
diff --git a/mobile/android/base/resources/xml/preferences_display.xml b/mobile/android/base/resources/xml/preferences_display.xml
index 122103c45f12..d13fa0f3af9b 100644
--- a/mobile/android/base/resources/xml/preferences_display.xml
+++ b/mobile/android/base/resources/xml/preferences_display.xml
@@ -27,7 +27,7 @@
+ android:defaultValue="true" />