Skip to content

Commit 7327d44

Browse files
committed
ONYX EINK: Force full update on eink screen in screen initialization if update interval equal to zero.
1 parent 7ba68ac commit 7327d44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

android/src/org/coolreader/crengine/EinkScreen.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ public static void ResetController(int mode, View view) {
144144
if (DeviceInfo.EINK_ONYX) {
145145
mIsSupportRegal = EpdController.supportRegal();
146146
mRefreshNumber = 0;
147+
if (mUpdateInterval == 0)
148+
EpdController.setViewDefaultUpdateMode(view, UpdateMode.GC);
147149
switch (mode) {
148150
case CMODE_CLEAR: // Quality
149151
if (mInA2Mode) {

0 commit comments

Comments
 (0)