summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/12/changes
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2014-09-11 12:37:19 -0700
committerChristopher Tate <ctate@google.com>2014-09-11 12:41:52 -0700
commit90f86baebdb53f2edb5e2bd2b3f6f43bc802f9a9 (patch)
tree081d54c2d7dca987ee075ba5871549893136fd01 /docs/html/sdk/api_diff/12/changes
parentcde5bb45cc86d181d96ee69da1832e6132162871 (diff)
Write new wallpaper files from scratch...
...rather than overwriting the existing wallpaper bitmap file "in place." If the new bitmap is smaller than the previous one, we wind up with the previous image's contents as spurious trailing file contents. Also, it means that if any wallpaper image is particularly large on disk, then we'll forever be backing up that high-water-mark amount of data every time the wallpaper is changed. The fix is to open the "write the new bitmap to disk" fd with MODE_TRUNCATE. Bug 17285333 Change-Id: I3d8708d72e316834b7ecec20386153a703efddd9
Diffstat (limited to 'docs/html/sdk/api_diff/12/changes')
0 files changed, 0 insertions, 0 deletions