Skip to content

Commit e1cdacf

Browse files
committed
Enable return to library
1 parent 808e45b commit e1cdacf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/java/com/artifex/mupdf/viewer/DocumentActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ enum TopBarMode {Main, Search, More};
9595
private boolean mAlertsActive= false;
9696
private AlertDialog mAlertDialog;
9797
private ArrayList<OutlineActivity.Item> mFlatOutline;
98-
private boolean mReturnToLibraryActivity = false;
98+
private boolean mReturnToLibraryActivity = true;
9999
private Uri intentUri;
100100

101101
protected int mDisplayDPI;
@@ -212,7 +212,7 @@ public void onCreate(final Bundle savedInstanceState)
212212
Intent intent = getIntent();
213213
SeekableInputStream file;
214214

215-
mReturnToLibraryActivity = intent.getIntExtra(getComponentName().getPackageName() + ".ReturnToLibraryActivity", 0) != 0;
215+
// mReturnToLibraryActivity = intent.getIntExtra(getComponentName().getPackageName() + ".ReturnToLibraryActivity", 0) != 0;
216216

217217
if (Intent.ACTION_VIEW.equals(intent.getAction())
218218
|| Intent.ACTION_SEND.equals(intent.getAction())) {

0 commit comments

Comments
 (0)