summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-03-27 16:49:27 -0700
committerchaviw <chaviw@google.com>2018-03-27 17:07:07 -0700
commitee947f2eccea205dad46f6486d55e9de2bcb4ea7 (patch)
tree676036a9cfe777d1e2af0589db87974b177b427c /libs/hwui/renderthread/CacheManager.cpp
parent294ad785342f0eaaf41c59d819edd559450a4a2a (diff)
Set snapTargetBeforeMinimized to middle target if position is negative
There are cases where the last snapTarget position is negative. Specifically, it can be negative if the divider was moved up, making the last position negative off-screen. Instead save the middle SnapTarget, which is the default, so bounds aren't accidentally calculated with negative position. Fixes: 74440003 Test: Bug no longer occurs Test: Split screen with 3rd party launcher Test: ActivityManagerSplitScreenTests Change-Id: Id3261d6e31622a96f71ff80301dd9cc39599b7ec
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions