kopia lustrzana https://github.com/ryukoposting/Signal-Android
Don't unnecessarily stop the ShareActivity in onPause.
1. Due to ShareActivity having noHistory=true, it will already be ditched when you leave the activity. 2. We only need to truly finish() here if we've dropped the underlying media. Fixes #8591fork-5.53.8
rodzic
6896f8ea15
commit
3b6429c163
|
@ -133,9 +133,10 @@ public class ShareActivity extends PassphraseRequiredActionBarActivity
|
|||
super.onPause();
|
||||
if (!isPassingAlongMedia && resolvedExtra != null) {
|
||||
PersistentBlobProvider.getInstance(this).delete(this, resolvedExtra);
|
||||
}
|
||||
if (!isFinishing()) {
|
||||
finish();
|
||||
|
||||
if (!isFinishing()) {
|
||||
finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue