()
| 97 | } |
| 98 | |
| 99 | static async saveBrightness() { |
| 100 | SystemSetting.saveBrightnessVal = await SystemSetting.getBrightness() |
| 101 | SystemSetting.saveScreenModeVal = await SystemSetting.getScreenMode() |
| 102 | } |
| 103 | |
| 104 | static restoreBrightness() { |
| 105 | if (SystemSetting.saveBrightnessVal == -1) { |
nothing calls this directly
no test coverage detected