summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2021-03-23 20:00:16 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-03-23 20:00:16 +0000
commit133e6cfef0b4ce2c0bf0c2e0f7eda6662f585938 (patch)
tree3fb5c0dc0d44739ff7c7698bf7b580f35c56845f
parentba520c1f9478aebbf58c0c668c7c6f60d6689518 (diff)
parent101047f54daebe16c4ed5d7aa5eb509c4f867f01 (diff)
Merge "Move image cleanup operations to onStop" into sc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/screenshot/LongScreenshotActivity.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/LongScreenshotActivity.java b/packages/SystemUI/src/com/android/systemui/screenshot/LongScreenshotActivity.java
index 01afacfad385..04d199645b24 100644
--- a/packages/SystemUI/src/com/android/systemui/screenshot/LongScreenshotActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/screenshot/LongScreenshotActivity.java
@@ -267,8 +267,14 @@ public class LongScreenshotActivity extends Activity {
@Override
protected void onPause() {
- Log.d(TAG, "onPause finishing=" + isFinishing());
+ Log.d(TAG, "onPause");
super.onPause();
+ }
+
+ @Override
+ protected void onStop() {
+ Log.d(TAG, "onStop finishing=" + isFinishing());
+ super.onStop();
if (isFinishing()) {
if (mScrollCaptureResponse != null) {
mScrollCaptureResponse.close();
@@ -297,12 +303,6 @@ public class LongScreenshotActivity extends Activity {
}
@Override
- protected void onStop() {
- Log.d(TAG, "onStop");
- super.onStop();
- }
-
- @Override
protected void onDestroy() {
Log.d(TAG, "onDestroy");
super.onDestroy();