CodePudding user response:
By the way, my one plus 5 mobile phone when you start the automatic brightness gain Settings. System. SCREEN_BRIGHTNESS value is will change with the screen brightness,,, so the feeling is when mobile phone within the System automatically adjust the brightness of different design???????CodePudding user response:
So you try the other phone,In addition, the code?
CodePudding user response:
Research for several days, found out the screen when dialling is directly the LCD brightness, egg hurtsCodePudding user response:
Blogger, hello, yesterday I test process like you phenomenon, are as follows: when found that mobile phone to automatically adjust the brightness, to get Settings. System. SCREEN_BRIGHTNESS values, the value is just the brightness values of previous manually, won't change, but when I cover the light sensor began automatically change the brightness, the access Settings. The System. SCREEN_BRIGHTNESS values remain the same, and I use the code to change the Settings. System. SCREEN_BRIGHTNESS value, also won't affect the brightness of the automatically adjust brightness mode, but the brightness of the drop-down in the status bar can adjust or change the brightness of the screen, but it was found that the automatic adjustment mode this change will not change the brightness Settings. The System. The value of the SCREEN_BRIGHTNESSIn the case of open automatically adjust the brightness, change the parameter is screenAutoBrightnessAdjustment brightness values, the range is 1 to 1, I met a problem, as follows: if you want to be in the case of open automatically adjust the brightness that drag the brightness is invalid, would USE_SCREEN_AUTO_BRIGHTNESS_ADJUSTMENT normally on can be set to false, but the modified has been a constant value and I was not true, at ordinary times is ok, but can't manually change brightness under the glare, this makes me very headache, because this value not been modified in any place
CodePudding user response:
A method to solve it, please feel free to comment