summaryrefslogtreecommitdiffstats
path: root/libs/utils/AssetManager.cpp
diff options
context:
space:
mode:
authorChristopher Lais <chris+android@zenthought.org>2011-01-13 15:02:05 -0600
committerJosh Guilfoyle <jasta00@gmail.com>2011-01-20 13:25:13 -0800
commitcc45a6dc068d343137415b57f6545231c8282be3 (patch)
treebe91e37789f629e603828dd25456636a393498ca /libs/utils/AssetManager.cpp
parent1f389228b84ea9c0584bfff072b3cf1f98f57f6e (diff)
downloadframeworks_base-cc45a6dc068d343137415b57f6545231c8282be3.zip
frameworks_base-cc45a6dc068d343137415b57f6545231c8282be3.tar.gz
frameworks_base-cc45a6dc068d343137415b57f6545231c8282be3.tar.bz2
Don't drop the drawable cache completely on configuration change
There was a lot of fancy code just above the clear to ensure that drawables that aren't affected by the change are kept, then the entire array was cleared. This patch removes the clear, so that the drawables that haven't changed are really kept, matching the logs, comments and larger part of the code. This patch also fixes the various constant states to return correct ChangingConfigurations. Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15 Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
Diffstat (limited to 'libs/utils/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions