summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
author Svetoslav Ganov <svetoslavganov@google.com> 2012-10-04 13:02:06 -0700
committer Svetoslav Ganov <svetoslavganov@google.com> 2012-10-11 11:17:56 -0700
commitee44fae19664594d4a17dd86723106533f4b218a (patch)
treec2b5565b701cb049c736b1dae8c347e8df44d8e8 /libs/hwui/TextDropShadowCache.cpp
parent9aefa1457967b52f1865173aa70896db84f111f1 (diff)
Prevent out of range magnification scale to be persisted.
1. If a bad magnification scale is persisted, i.e. it is not between the min and max, the screen magnifier gets into a bad state which even a reboot does not fix since the scale is persisted in settings. This change ensures that only valid scales are presisted. In general a bad value should not be attempted to be persisted but at this point this is the safest change. bug:7288239 Change-Id: I3e9c7c091772fa64128ab8403c2127ce65cb94b8
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions