File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
common/src/main/java/com/liskovsoft/smartyoutubetv2/common/misc Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -221,16 +221,17 @@ private void showHideDimming(boolean show) {
221221 }
222222
223223 private void showHideScreensaver (boolean show ) {
224- if (sLockInstance ) {
225- return ;
226- }
227-
228224 Activity activity = mActivity .get ();
229225
230226 if (activity == null ) {
231227 return ;
232228 }
233229
230+ if (sLockInstance ) {
231+ Helpers .enableScreensaver (activity );
232+ return ;
233+ }
234+
234235 // Disable screensaver on certain circumstances
235236 // Fix screen off before the video started
236237 if (show && (isPlaying () || isSigning () || getGeneralData ().isScreensaverDisabled () || (mMode == MODE_SCREEN_OFF && getPosition () == 0 ))) {
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ android {
5757 applicationId " app.smarttube"
5858 minSdkVersion project. properties. minSdkVersion
5959 targetSdkVersion project. properties. targetSdkVersion
60- versionCode 2312
61- versionName " 31.22 "
60+ versionCode 2313
61+ versionName " 31.23 "
6262 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
6363 buildConfigField " long" , " TIMESTAMP" , System . currentTimeMillis() + " L"
6464
You can’t perform that action at this time.
0 commit comments