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

Commit

Permalink
Strip GeckoView logs from release builds. (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed Aug 9, 2019
1 parent c73c943 commit 7db79f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ private void vrPrefsWorkAround(Context aContext, Bundle aExtras) {
out.write("pref(\"media.webspeech.synth.enabled\", false);\n".getBytes());
// Prevent autozoom when giving a form field focus.
out.write("pref(\"formhelper.autozoom\", false);\n".getBytes());
String geckoLogLevel = BuildConfig.DEBUG ? "Debug" : "Warn";
out.write(("pref(\"geckoview.logging\", \"" + geckoLogLevel + "\");\n").getBytes());
// Uncomment this to enable WebRender. WARNING NOT READY FOR USAGE.
// out.write("pref(\"gfx.webrender.all\", true);\n".getBytes());
int msaa = SettingsStore.getInstance(aContext).getMSAALevel();
Expand Down

0 comments on commit 7db79f9

Please sign in to comment.