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

Commit 133e6cfe authored by Matt Casey's avatar Matt Casey Committed by Android (Google) Code Review
Browse files

Merge "Move image cleanup operations to onStop" into sc-dev

parents ba520c1f 101047f5
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");