Skip to content

Commit e7bc5ac

Browse files
[AppOnly][Issue #29] Fix back button in HTMLReaderActivity
1 parent 39e1553 commit e7bc5ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/app/src/main/java/com/viliussutkus89/android/pdf2htmlex/application/ConverterActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ else if (Intent.ACTION_SEND.equals(action)) {
142142
Intent readerIntent = new Intent(this, HTMLReaderActivity.class);
143143
readerIntent.setData(convertedUri);
144144
readerIntent.putExtra(HTMLReaderActivity.INTENT_EXTRA_INPUT__FILENAME, m_inputFilename);
145-
readerIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_TASK_ON_HOME);
146145
startActivity(readerIntent);
146+
finish();
147147
break;
148148
}
149149
// Intentional case fall through without "break"

0 commit comments

Comments
 (0)