commit | d2caa1f0acf79c65c144257f883b76fc80473591 | [log] [tgz] |
---|---|---|
author | Chavi Weingarten <chaviw@google.com> | Tue Sep 20 19:13:33 2022 +0000 |
committer | Chavi Weingarten <chaviw@google.com> | Tue Sep 20 19:31:10 2022 +0000 |
tree | 25df341df465ede8addba646ec4df9b940429902 | |
parent | 5473b217d74de6e06ad4166732c7152671e96e92 [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