我使用nativejs设置屏幕亮度,失败了我看了android源码就是这样写的,但是报这个线程的错,我实在不知道如何去修改,请各位大神帮我看看,感激不尽。
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.;at com.android.internal.policy.PhoneWindow.setAttributes