Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6395c145 authored by Matt Casey's avatar Matt Casey Committed by Automerger Merge Worker
Browse files

Merge "Move image cleanup operations to onStop" into sc-dev am: 133e6cfe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13938724

Change-Id: I5c19e2906ccd191ca9c78d23a01a5d97359cf609
parents 4a7e011d 133e6cfe
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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();
@@ -296,12 +302,6 @@ public class LongScreenshotActivity extends Activity {
        }
    }

    @Override
    protected void onStop() {
        Log.d(TAG, "onStop");
        super.onStop();
    }

    @Override
    protected void onDestroy() {
        Log.d(TAG, "onDestroy");