summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2015-11-23 14:14:51 -0800
committer Felipe Leme <felipeal@google.com> 2015-11-24 10:34:45 -0800
commit71bbfc57974331dce79242ce806d92035fce06ba (patch)
tree628ecf7ae0ce17c116f89a40bbbef7b74f01b2ab /libs/ui/FramebufferNativeWindow.cpp
parente0c44ed2625f28533736b91a1922b71c53803ab0 (diff)
Adds a -P option so dumpstate can report its progress.
The old workflow was: 1. dumpstate starts. 2. When dumpstate finishes, it sends a BUGREPORT_FINISHED event. 3. Shell's BugreportReceiver receives the BUGREPORT_FINISHED and issues a system notification so user can share the bug report. The new workflow is: 1. When dumpstate starts, it sends a BUGREPORT_STARTED with its pid and the estimated total effort. 2. When Shell's BugreportReceiver receives the BUGREPORT_STARTED, it: 2.1 Issues a system notification so user can watch the progresss (which is 0% initially). 2.2 Starts a service (BugreportProgressService) responsible for polling the dumpstate progress (using system properties and the pid) and updating the system notification. 3. As dumpstate progress, it updates the proper system property. 4. When dumpstate finishes, it sends a BUGREPORT_FINISHED event. 5. When Shell's BugreportReceiver receives the BUGREPORT_FINISHED, it: 5.1 Finishes the service if necessary. 5.2 Issues a system notification so user can share the bug report. This CL handles the dumpstate changes only, the Shell changes will be handled in a separate CL. BUG: 25794470 Change-Id: I6e04203411802c88ab0d093420ccdfd26700d565
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions