To change screen brightness:
WindowManager.LayoutParams layoutParams = getWindow().getAttributes(); layoutParams.buttonBrightness = value; getWindow().setAttributes(layoutParams);
No comments:
Post a Comment