Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fix autozoom disable #3360

Merged
merged 1 commit into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ object EngineProvider {
builder.screenSizeOverride(SettingsStore.getInstance(context).maxWindowWidth,
SettingsStore.getInstance(context).maxWindowHeight)
builder.useMultiprocess(true)
builder.inputAutoZoomEnabled(false)
builder.doubleTapZoomingEnabled(false)

if (SettingsStore.getInstance(context).transparentBorderWidth > 0) {
builder.useMaxScreenDepth(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ public static void vrPrefsWorkAround(Context aContext, Bundle aExtras) {
out.write("user_pref(\"webgl.enable-surface-texture\", true);\n".getBytes());
// Enable MultiView draft extension
out.write("user_pref(\"webgl.enable-draft-extensions\", true);\n".getBytes());
out.write("user_pref(\"apz.allow_double_tap_zooming\", false);\n".getBytes());
out.write("user_pref(\"dom.webcomponents.customelements.enabled\", true);\n".getBytes());
out.write("user_pref(\"javascript.options.ion\", true);\n".getBytes());
out.write("user_pref(\"media.webspeech.synth.enabled\", false);\n".getBytes());
// Prevent autozoom when giving a form field focus.
out.write("user_pref(\"formhelper.autozoom\", false);\n".getBytes());
// Disable WebRender until it works with FxR
out.write("user_pref(\"gfx.webrender.force-disabled\", true);\n".getBytes());
out.write("user_pref(\"signon.rememberSignons\", false);\n".getBytes());
// Disable web extension process until it is able to restart.
out.write("user_pref(\"extensions.webextensions.remote\", false);\n".getBytes());
int msaa = SettingsStore.getInstance(aContext).getMSAALevel();
Expand Down