Prechádzať zdrojové kódy

[WallPadMain]
1. App Ver. 갱신
- 2022.01.06.01
2. LCDKeeper 기능 개선
- 보호/복구모드 동작시 복구모드 후에 보호모드 동작하지 않는 증상 개선

Changwoo Nam 4 rokov pred
rodič
commit
fb548777f0

+ 1 - 1
WallPadMain/src/main/AndroidManifest.xml

@@ -1,7 +1,7 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="kr.co.icontrols.wallpadmain"
     android:versionCode="17"
-    android:versionName="2022.01.05.01">
+    android:versionName="2022.01.06.01">
 
     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
 	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

+ 3 - 2
WallPadMain/src/main/java/kr/co/icontrols/wallpadmain/MainActivity.java

@@ -8463,13 +8463,13 @@ public class MainActivity extends WpadActivity {
     private void runLCDKeeper(int nKeeperMode) {
         try {
             if (!bLCDKeeperUsage) {
-                Log.w(TAG, "[registerLCDKeeper] bLCDKeeperUsage is false!!!");
+                Log.w(TAG, "[runLCDKeeper] bLCDKeeperUsage is false!!!");
                 return;
             }
 
             Log.i(TAG, "[runLCDKeeper] nKeeperMode [" + nKeeperMode +"], bLCDBacklightPower [" + bLCDBacklightPower +"]");
             if (Build.VERSION.SDK_INT < 24) {
-                Log.w(TAG, "[registerLCDKeeper] not support LCDKeeper!! Build.VERSION.SDK_INT -> " + Build.VERSION.SDK_INT);
+                Log.w(TAG, "[runLCDKeeper] not support LCDKeeper!! Build.VERSION.SDK_INT -> " + Build.VERSION.SDK_INT);
                 return;
             }
 
@@ -8500,6 +8500,7 @@ public class MainActivity extends WpadActivity {
                 IMG_LCD_KEEPER.setVisibility(View.VISIBLE);
             }
             else if (nKeeperMode == LCDKEEPER_MODE_PROTECT) {
+                IMG_LCD_KEEPER.setImageBitmap(null);
                 IMG_LCD_KEEPER.setBackgroundColor(Color.BLACK);
                 IMG_LCD_KEEPER.setVisibility(View.VISIBLE);
             }