summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2010-07-13 15:18:10 -0700
committerShimeng (Simon) Wang <swang@google.com>2010-07-13 15:18:10 -0700
commitb4fb25cb5bb9231ea5f1e0d4f950bf89cf617ba7 (patch)
treeeebf5bbedb17d62dd4a0b30b3cad67708abc5609 /src/com
parent0ced08c2332b6e3af5bc31a12568840e9160bb6a (diff)
downloadpackages_apps_Browser-b4fb25cb5bb9231ea5f1e0d4f950bf89cf617ba7.zip
packages_apps_Browser-b4fb25cb5bb9231ea5f1e0d4f950bf89cf617ba7.tar.gz
packages_apps_Browser-b4fb25cb5bb9231ea5f1e0d4f950bf89cf617ba7.tar.bz2
Set the Browser's minimum font size to 1px.
Something is drawn when font-size is set to 1px. This is to fix cases where user explicitly set font-size to 1px. issue: 2170362 Change-Id: Ibdb90520cd0e89edaee89b9ee3bc7bab85a475ef
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/browser/BrowserSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index ad1d1c0..94bed2d 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -106,8 +106,8 @@ class BrowserSettings extends Observable {
private boolean showConsole = true;
// Private preconfigured values
- private static int minimumFontSize = 8;
- private static int minimumLogicalFontSize = 8;
+ private static int minimumFontSize = 1;
+ private static int minimumLogicalFontSize = 1;
private static int defaultFontSize = 16;
private static int defaultFixedFontSize = 13;
private static WebSettings.TextSize textSize =