diff options
author | Byunghun Jeon <bjeon@codeaurora.org> | 2016-05-31 13:12:13 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-06-29 10:31:54 -0700 |
commit | f16a9497a188f42c5a5ad4f9710a6c44f79a0e28 (patch) | |
tree | c12e159906bcdbc041523f71669c975c3a1a5e94 /assets/dependency.json | |
parent | eccb780d076a72a5d3fcafcfd9540b044458f4a2 (diff) | |
download | android_packages_apps_Snap-f16a9497a188f42c5a5ad4f9710a6c44f79a0e28.tar.gz android_packages_apps_Snap-f16a9497a188f42c5a5ad4f9710a6c44f79a0e28.tar.bz2 android_packages_apps_Snap-f16a9497a188f42c5a5ad4f9710a6c44f79a0e28.zip |
SnapdragonCamera: Use json file to read setting dependency
Instead of writing the dependency in java, read the
dependency from json file
Change-Id: I5a46d35b66a289e2a3ee8b72d0059fd9929891f2
Diffstat (limited to 'assets/dependency.json')
-rw-r--r-- | assets/dependency.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/assets/dependency.json b/assets/dependency.json new file mode 100644 index 000000000..6fe735b7a --- /dev/null +++ b/assets/dependency.json @@ -0,0 +1,21 @@ +{ + "pref_camera2_scenemode_key": + { + "_comment":"Copyright (c) 2016, The Linux Foundation. All rights reserved.\nNot a Contribution.\nCopyright (C) 2013 The Android Open Source Project\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and\nlimitations under the License.", + "default": + {"pref_camera2_coloreffect_key":"0", + "pref_camera2_flashmode_key":"2", + "pref_camera2_whitebalance_key":"1", + "pref_camera2_exposure_key":"0", + "pref_camera2_clearsight_key":"off", + "pref_camera2_mono_preview_key":"off"} + , + "100": + {"pref_camera2_longshot_key":"off", + "pref_camera2_mono_only_key":"off"} + , + "0": + {"pref_camera2_clearsight_key":"off", + "pref_camera2_mono_preview_key":"off"} + } +}
\ No newline at end of file |