We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a52d54 commit 5197672Copy full SHA for 5197672
android/src/main/java/com/ninty/system/setting/SystemSetting.java
@@ -248,6 +248,7 @@ public void run() {
248
public void getAppBrightness(Promise promise) {
249
final Activity curActivity = getCurrentActivity();
250
if (curActivity == null) {
251
+ promise.reject("-1", "cannot get app brightness: current activity is null");
252
return;
253
}
254
try {
0 commit comments