summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Paul Chang <changpa@google.com> 2020-02-13 20:04:03 +0800
committer Paul Chang <changpa@google.com> 2020-02-28 17:15:11 +0000
commit0d2aad706c7977f7dc8f70e6a2fd0426e5c698e1 (patch)
treef53ac890f293c5e78114c2f2da00191859fa2551 /libs/gui/ConsumerBase.cpp
parentf49a7c4712c3b9a10b9490530c142f0e629ae6dd (diff)
Support to screenshot to interactive bugreport.
- Take screenshot only after critical dumpsys has finished -- so calling app can be shown earlier without disrupting critical dumpsys after starting bugreport. - Show a visual indication to indicate screenshot is taken via IDumpstateListener.onScreenshotTaken(). - Copy the screenshot file to calling app after consent is granted for letting calling app can get and show the screenshot earlier, otherwise calling app may need to wait several minutes to get the screenshot to show. - Rename do_fb --> do_screenshot because do_fb basically means do_screenshot. BUG:149525300 Test: Flash and press bug report shortcut and check the screenshot Change-Id: Ibaca13bfabc1350448d05df12be5ee9291860c0e Merged-In: Ibaca13bfabc1350448d05df12be5ee9291860c0e
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions