Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 690c6b19 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Remove unused BROWSER_TEXT_SIZE_CHANGE log event.

It turns out that the BROWSER_TEXT_SIZE_CHANGE event isn't listed
in google3/wireless/android/production/checkin_config/root,
which means that statistics on it isn't collected, so the logging
statement doesn't have any useful effect and can be removed to
simplify code.

Change-Id: I66d694cdb13e677bb979f5e962ed2cc8d743bdec
parent 071efcac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,4 +8,3 @@ option java_package android.webkit;
# 70103- used by the browser app itself

70150 browser_snap_center
70151 browser_text_size_change (oldSize|1|5), (newSize|1|5)
+0 −4
Original line number Diff line number Diff line
@@ -632,10 +632,6 @@ public class WebSettingsClassic extends WebSettings {
    @Override
    public synchronized void setTextZoom(int textZoom) {
        if (mTextSize != textZoom) {
            if (WebViewClassic.mLogEvent) {
                EventLog.writeEvent(EventLogTags.BROWSER_TEXT_SIZE_CHANGE,
                        mTextSize, textZoom);
            }
            mTextSize = textZoom;
            postSync();
        }