Merge "Move image cleanup operations to onStop" into sc-dev
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user