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

Commit cbf9c4e1 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android Git Automerger
Browse files

am ce76ca51: Add \'getValue\' methods to WebSettings.TextSize and ZoomDensity enums.

* commit 'ce76ca51':
  Add 'getValue' methods to WebSettings.TextSize and ZoomDensity enums.
parents 0c1badc6 ce76ca51
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -71,6 +71,14 @@ public abstract class WebSettings {
        TextSize(int size) {
            value = size;
        }

        /**
         * @hide Only for use by WebViewProvider implementations
         */
        public int getValue() {
            return value;
        }

        int value;
    }

@@ -89,6 +97,14 @@ public abstract class WebSettings {
        ZoomDensity(int size) {
            value = size;
        }

        /**
         * @hide Only for use by WebViewProvider implementations
         */
        public int getValue() {
            return value;
        }

        int value;
    }