From 52bc260998750095e0b0c58554d4c9cfae30e9b2 Mon Sep 17 00:00:00 2001 From: seven332 Date: Wed, 1 Jun 2016 18:58:44 +0800 Subject: [PATCH] Start gallery provider before get start page --- app/src/main/java/com/hippo/ehviewer/ui/GalleryActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/hippo/ehviewer/ui/GalleryActivity.java b/app/src/main/java/com/hippo/ehviewer/ui/GalleryActivity.java index 8e56bc11d..e1bdc6c5f 100644 --- a/app/src/main/java/com/hippo/ehviewer/ui/GalleryActivity.java +++ b/app/src/main/java/com/hippo/ehviewer/ui/GalleryActivity.java @@ -257,6 +257,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan finish(); return; } + mGalleryProvider.start(); // Get start page int startPage; @@ -298,7 +299,6 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan mGLRootView.setContentPane(mGalleryView); mGalleryProvider.setListener(mProviderListener); mGalleryProvider.setGLRoot(mGLRootView); - mGalleryProvider.start(); // System UI helper if (Settings.getReadingFullscreen()) {