Merge pull request #703 from deltachat/issue-464

Can't share with pattern set #464
This commit is contained in:
björn petersen
2019-02-08 13:06:03 +01:00
committed by GitHub
2 changed files with 2 additions and 6 deletions
-1
View File
@@ -60,7 +60,6 @@
android:excludeFromRecents="true"
android:launchMode="singleTask"
android:taskAffinity=""
android:noHistory="true"
android:windowSoftInputMode="stateHidden"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
@@ -140,14 +140,11 @@ public class ShareActivity extends PassphraseRequiredActionBarActivity
}
@Override
public void onPause() {
super.onPause();
protected void onDestroy() {
super.onDestroy();
if (!isPassingAlongMedia && resolvedExtra != null) {
PersistentBlobProvider.getInstance(this).delete(this, resolvedExtra);
}
if (!isFinishing()) {
finish();
}
}
@Override