Merge "Switch to "quiet" screenshot success when window destroyed" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9abbc3a37a
@@ -448,6 +448,10 @@ public class ScreenshotController {
|
||||
|
||||
// Any cleanup needed when the service is being destroyed.
|
||||
void onDestroy() {
|
||||
if (mSaveInBgTask != null) {
|
||||
// just log success/failure for the pre-existing screenshot
|
||||
mSaveInBgTask.setActionsReadyListener(this::logSuccessOnActionsReady);
|
||||
}
|
||||
removeWindow();
|
||||
releaseMediaPlayer();
|
||||
releaseContext();
|
||||
|
||||
Reference in New Issue
Block a user