summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorlei.xa.liu <lei.xa.liu@sonymobile.com>2016-09-20 21:37:25 +0900
committerWale Ogunwale <ogunwale@google.com>2017-04-24 12:45:08 -0700
commitf14e93e40da07b389dee2e2f472580565ab15a43 (patch)
tree83ab00a10e4e94f01e270efe82abceaf370827db /tools/aapt2/java/JavaClassGenerator.cpp
parent5c0f27a24b0c9551eb37fad7c519a177075346ad (diff)
Remove redundant lockscreen shown check
Symptom: USB dialog is displayed incompletely and cannot be scrolled under lockscreen in multi-window mode. Root cause: When lockscreen is shown, the bounds returned by getLaunchBounds() is null, updateOverrideConfiguration() will finally consider the task as fullscreen, USB dialog is under lockscreen, not over lockscreen, as a result, the height measured in ViewRootImpl's performTraversals() will be incorrect. Solution: Remove the lockscreen shown check from getLaunchBounds() which is originally added to fix app over lockscreen being cropped by docked stack, and the following commit also fix the behavior of app over lockscreen. https://android.googlesource.com/platform/frameworks/base/+/99732940809058fae558618399323c36b8a0e856 So that above check should be redundant code. Bug: 31256862 Fixes: 36163229 Test: manual Change-Id: Iac483f625d2f4b35388290eb78a97a4bd3bd0fe8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions