summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2020-07-06 14:16:29 -0400
committerMiranda Kephart <mkephart@google.com>2020-08-11 09:32:29 -0400
commit6bb575bab19a8ab9be05a1942283010e944d923c (patch)
tree643fb303830c7c85b734e62b15762a59bf6525ed /tools/aapt2/java/JavaClassGenerator.cpp
parent56dc3f41222911b9b4385ce3a59dc46d1b20de29 (diff)
Make screenshot process unbind correctly
There's a bug in ScreenshotHelper that causes the process not to unbind properly. Now that the screenshot connection is kept track of by the class, we don't need to compare its value at the beginning and end of the started service before closing the connection. This also fixes an issue where screenshots didn't work right, immediately after switching users (since the process is now closed correctly, a new one can begin for the secondary user). Bug: 158303623 Bug: 160355802 Fix: 158303623 Fix: 160355802 Test: manual; tested single screenshots and multiple in succession; made sure that after switching users screenshots could be taken immediately. Change-Id: Idf25c6a60bdde8ab970c4af68884de798159ef3f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions