summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2020-08-25 09:16:27 -0400
committerMiranda Kephart <mkephart@google.com>2020-08-25 09:16:27 -0400
commit17ed4e74ec786f15432b09fe435fbec7fbc6f441 (patch)
tree306b06df6940f4fb9b109aca52297dad9283517c /tools/aapt2/java/JavaClassGenerator.cpp
parentbe05cd4b4032c1ad158c988b4c94e968cb3afd7e (diff)
Add log for dismissal when new screenshot is taken
Currently, we log when the screenshot UI is dismissed due to timeout, tapping the 'X' button, tapping the preview, or tapping any of the action buttons. However, there is an additional way to cause the UI to be dismissed, which is to take a new screenshot while the UI is up (in which case we dismiss the old UI immediately). We should log this to get a better picture of how people use/interact with the screenshot UI. This change adds the log (previously registered using the uievent cli) and logs when a new screenshot is taken, if there's UI on the screen and we aren't already dismissing for some other reason (to avoid duplicate logs). Bug: 166249049 Test: manual Change-Id: I4a1d7cf8c1309a3198593eef004a2b18f94f809f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions