Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up screenshot if nothing selected
If rect is null, run the finisher so the screenshot logic is cleaned up and prepared for next screenshot. This fixes BUGBASH-1831. [basilgello: combined two if-clauses to avoid double else, inspired by BadDaemon] Signed-off-by: Vasyl Gello <vasek.gello@gmail.com> Change-Id: Ib46221df2a2a70bc5a901107ca6aa4268a0568f2
- Loading branch information
76e5e4e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit broke partial screenshots.
I think
mScreenshotLayout.post(new Runnable() {
needs to be changed back to
mScreenshotSelectorLayout.post(new Runnable() {
This commit seems to come from ROMs that don't use ScreenshotSelectorLayout but havoc uses it.
76e5e4e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I'll look into it.