()
| 54 | } |
| 55 | |
| 56 | static async getAppBrightness() { |
| 57 | if (Utils.isAndroid) { |
| 58 | return SystemSettingNative.getAppBrightness() |
| 59 | } else { |
| 60 | return SystemSetting.getBrightness() |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * @deprecated use grantWriteSettingPermission instead |
nothing calls this directly
no test coverage detected