- Settings.System.putInt(context.getContentResolver(),
- Settings.System.SCREEN_BRIGHTNESS_MODE, Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC);
- Uri uri = Settings.System
- .getUriFor("screen_brightness");
- context.getContentResolver().notifyChange(uri, null);
- //该片段来自于http://www.codesnippet.cn/detail/3012201411416.html
来源: http://www.codesnippet.cn/detail/3012201411416.html