|
|
@@ -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);
|
|
|
}
|