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

Commit 8cfe03a

Browse files
authored
Fix autozoom disable (#3360)
1 parent 9b5279a commit 8cfe03a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/EngineProvider.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ object EngineProvider {
3838
builder.screenSizeOverride(SettingsStore.getInstance(context).maxWindowWidth,
3939
SettingsStore.getInstance(context).maxWindowHeight)
4040
builder.useMultiprocess(true)
41+
builder.inputAutoZoomEnabled(false)
42+
builder.doubleTapZoomingEnabled(false)
4143

4244
if (SettingsStore.getInstance(context).transparentBorderWidth > 0) {
4345
builder.useMaxScreenDepth(true)

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/SessionUtils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@ public static void vrPrefsWorkAround(Context aContext, Bundle aExtras) {
3636
out.write("user_pref(\"webgl.enable-surface-texture\", true);\n".getBytes());
3737
// Enable MultiView draft extension
3838
out.write("user_pref(\"webgl.enable-draft-extensions\", true);\n".getBytes());
39-
out.write("user_pref(\"apz.allow_double_tap_zooming\", false);\n".getBytes());
4039
out.write("user_pref(\"dom.webcomponents.customelements.enabled\", true);\n".getBytes());
4140
out.write("user_pref(\"javascript.options.ion\", true);\n".getBytes());
4241
out.write("user_pref(\"media.webspeech.synth.enabled\", false);\n".getBytes());
43-
// Prevent autozoom when giving a form field focus.
44-
out.write("user_pref(\"formhelper.autozoom\", false);\n".getBytes());
4542
// Disable WebRender until it works with FxR
4643
out.write("user_pref(\"gfx.webrender.force-disabled\", true);\n".getBytes());
47-
out.write("user_pref(\"signon.rememberSignons\", false);\n".getBytes());
4844
// Disable web extension process until it is able to restart.
4945
out.write("user_pref(\"extensions.webextensions.remote\", false);\n".getBytes());
5046
int msaa = SettingsStore.getInstance(aContext).getMSAALevel();

0 commit comments

Comments
 (0)