summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2022-09-20 19:13:33 +0000
committer Chavi Weingarten <chaviw@google.com> 2022-09-20 19:31:10 +0000
commitd2caa1f0acf79c65c144257f883b76fc80473591 (patch)
tree25df341df465ede8addba646ec4df9b940429902 /libs/androidfw/ResourceTimer.cpp
parent5473b217d74de6e06ad4166732c7152671e96e92 (diff)
Convert invalid crop to display bounds for captureDisplay
If the crop value passed in the args for captureDisplay is invalid, use the display bounds instead. Test: WindowManagerServiceTests#testCaptureDisplay Bug: 242714168 Change-Id: Iebe42fd35c5f49b6e711699aa1b986a556a5a5f8
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions