commit | 8f5e79549857ed81e82525cdf73c1e409b1d02ee | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Mon Aug 29 14:21:28 2022 -0400 |
committer | Mark Renouf <mrenouf@google.com> | Mon Aug 29 14:31:06 2022 -0400 |
tree | 0f5b529bc7bb895c8078c949a4977a2a79a2d2b2 | |
parent | 7823627d7ce3364a31dd6442c24099ecf70fa465 [diff] |
Fix double call to ScreenshotController When SCREENSHOT_REQUEST_PROCESSOR is enabled, the request is dispatched via RequestProcessor callback. This should return without following the original code path without the flag enabled. Added a test case to ensure the request is only forwarded once. Bug: 159422805 Test: atest TakeScreenshotServiceTest Change-Id: I8df2dd8e97e1aadde9bbeb141fe29940f9b6a5ba