Android 系统APK-Camera 后置拍照的白平衡模式按钮灰显,无法点击
Posted 王睿丶
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android 系统APK-Camera 后置拍照的白平衡模式按钮灰显,无法点击相关的知识,希望对你有一定的参考价值。
packages/apps/Camera2 / src/com/android/camera/app/CameraAppUI.java
if (enableWhiteBalance)
buttonManager.initializePushButton(ButtonManager.BUTTON_WHITEBALANCE, null);
buttonManager.setWhiteBalanceParameters(bottomBarSpec.supportedWhiteBalances);
buttonManager.setWhiteBalanceCallback(
bottomBarSpec.whiteBalanceSetCallback);
buttonManager.updateWhiteBalanceButtons();
else
if (!bottomBarSpec.enableWhiteBalance
&& mController.getSettingsManager().getBoolean(SettingsManager.SCOPE_GLOBAL,
Keys.KEY_WHITEBALANCE_ENABLED))
buttonManager.initializePushButton(ButtonManager.BUTTON_WHITEBALANCE, null);
buttonManager.setWhiteBalanceParameters(bottomBarSpec.supportedWhiteBalances);
buttonManager.setWhiteBalanceCallback(
bottomBarSpec.whiteBalanceSetCallback);
buttonManager.updateWhiteBalanceButtons();
// wangrui When taking photos with the rear camera, white balance is no longer disabled
++ //buttonManager.disableButton(ButtonManager.BUTTON_WHITEBALANCE);
else
buttonManager.hideButton(ButtonManager.BUTTON_WHITEBALANCE);
buttonManager.setWhiteBalanceCallback(null);
以上是关于Android 系统APK-Camera 后置拍照的白平衡模式按钮灰显,无法点击的主要内容,如果未能解决你的问题,请参考以下文章
Android 系统APK-Camera 修复分辨率和画质里的信息概率性消失
Android 系统APK-Camera 还原默认设置时,依然默认90W像素
Android 11.0 修复Camera 启用后置摄像头在拍照界面下,白平衡按钮无法点击