summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-10-28 13:34:12 +0000
committer Matt Casey <mrcasey@google.com> 2022-10-28 21:01:46 +0000
commita7c5cc5021e921f8217d85031efb9385199a329c (patch)
tree838078b6e7c9f0ec1e0844e27786d1e9c3c4cf0f /cmds/bootanimation/BootAnimation.cpp
parent7be703bdeb03506439d89010569e3808c278cf43 (diff)
Only honor passed-in userid value if work profile flag enabled
Previously work profile screenshots from overview would get saved to work profile even if the feature wasn't enabled (downstream code assumed that the userId would only be wp if the feature was enabled). This CL removes that assumption, only saving to a different profile if the flag is enabled. Bug: 255971910 Test: Work and personal profile screenshots from overview and key chord with the flags enabled and disabled. Test: atest TakeScreenshotServiceTest Test: atest ImageExporterTest Change-Id: If4164373e28b920ef4bea16902ba3455f09b6893
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions