Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 740745a7 authored by Matt Casey's avatar Matt Casey Committed by Android Build Coastguard Worker
Browse files

Make non-main displays take headless screenshots.

Instead of expecting ScreenshotController to function headlessly,
separate the small bit of code that does the actual saving into its own
class and use that instead of ScreenshotController when headless
operation is needed for secondary displays.

Existing "no-UI" functionality in ScreenshotController is untouched for
now to minimize the scope of the change.

Bug: 339424226
Test: atest TakeScreenshotExecutorTest
Test: manual testing with secondary display.
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:31ab31b0b969648688531bd602275bd81e47ec40)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8599d1c06c89d3c5825922f6f5fe93ccdf5158ac)
Merged-In: I3abc3e72f43649e114358ab7aa6d14e807fc3bf2
Change-Id: I3abc3e72f43649e114358ab7aa6d14e807fc3bf2
parent fa030fdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment