Match #1: /FBReaderJ-master/src/org/geometerplus/zlibrary/ui/android/library/ZLAndroidActivity.java: line 56-58 /android/7704961-7705001-1: line 3-5 // Using this you can set the screen brightness. < final WindowManager.LayoutParams attrs = getWindow().getAttributes(); < attrs.screenBrightness = percent / 100.0f; < getWindow().setAttributes(attrs); --- >WindowManager.LayoutParams layoutParams = getWindow().getAttributes(); > layoutParams.screenBrightness = curBrightnessValue/100.0f; > getWindow().setAttributes(layoutParams);