Settings: Show HAL HDR+ option in user build

am: 4d26fa03a8

Change-Id: I9b94c91b0a212ca727b9ba2ee7fc75902f2590e4
This commit is contained in:
Chien-Yu Chen
2017-09-27 23:33:01 +00:00
committed by android-build-merger
2 changed files with 1 additions and 38 deletions

View File

@@ -63,9 +63,7 @@ public class CameraHalHdrplusPreferenceController extends AbstractPreferenceCont
@Override
public boolean isAvailable() {
return mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus) &&
(SystemProperties.get(BUILD_TYPE).equals("userdebug") ||
SystemProperties.get(BUILD_TYPE).equals("eng"));
return mContext.getResources().getBoolean(R.bool.config_show_camera_hal_hdrplus);
}
@Override