summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-05-31 13:12:13 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-25 21:55:20 -0700
commit3d2937f03ab9ad37cb7f017444c1b83ba890ff22 (patch)
treec9302201fd36641325fa5ebc725ee4efd1eb23b6 /assets
parent9cd5721ea88d24549a2946e1aaaef04993bc94d6 (diff)
downloadandroid_packages_apps_Snap-3d2937f03ab9ad37cb7f017444c1b83ba890ff22.tar.gz
android_packages_apps_Snap-3d2937f03ab9ad37cb7f017444c1b83ba890ff22.tar.bz2
android_packages_apps_Snap-3d2937f03ab9ad37cb7f017444c1b83ba890ff22.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')
-rw-r--r--assets/dependency.json21
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