Skip to content

Commit

Permalink
remove screenshot feature, so that the web content can be loaded much…
Browse files Browse the repository at this point in the history
… faster.
  • Loading branch information
plateaukao committed Sep 5, 2021
1 parent 5d6f689 commit aff7dcb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
//applicationId "info.plateaukao.einkbro.debug"
minSdkVersion 21
targetSdkVersion 30
versionCode 81301
versionName "8.13.1"
versionCode 81400
versionName "8.14.0"
vectorDrawables.useSupportLibrary = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ open class BrowserActivity : AppCompatActivity(), BrowserController, OnClickList
shouldLoadTabState = it.getBoolean(K_SHOULD_LOAD_TAB_STATE)
}

WebView.enableSlowWholeDocumentDraw()
// root cause of slow drawing
//WebView.enableSlowWholeDocumentDraw()

sp.edit().putInt("restart_changed", 0).apply()
HelperUnit.applyTheme(this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class RecordAction(context: Context?) {
cursor.moveToNext()
}
cursor.close()

return list
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/dialog_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:orientation="vertical">

<ImageView
Expand Down

0 comments on commit aff7dcb

Please sign in to comment.