(val)
| 45 | } |
| 46 | |
| 47 | static setAppBrightness(val) { |
| 48 | if (Utils.isAndroid) { |
| 49 | SystemSettingNative.setAppBrightness(val) |
| 50 | } else { |
| 51 | SystemSetting.setBrightness(val) |
| 52 | } |
| 53 | return true |
| 54 | } |
| 55 | |
| 56 | static async getAppBrightness() { |
| 57 | if (Utils.isAndroid) { |
nothing calls this directly
no test coverage detected