Skip to content

Commit

Permalink
fix activity cannot be resumed
Browse files Browse the repository at this point in the history
when the activity is started by view intent from other
file managers. Now all koreader activities are in one instance.
  • Loading branch information
chrox committed Oct 29, 2014
1 parent a172bb6 commit dd1c023
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:label="@string/app_name"
android:hasCode="false" android:debuggable="true">
android:hasCode="false" android:debuggable="true"
android:largeHeap="true">
<activity android:name="android.app.NativeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<meta-data android:name="android.app.lib_name"
android:value="luajit-launcher" />
Expand All @@ -21,8 +23,8 @@
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.pdf" />
<data android:pathPattern=".*\\.djvu" />
Expand Down

0 comments on commit dd1c023

Please sign in to comment.