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-21 18:46:32 -0700
commit3d1baa4bbfe7b889e955228ee09ce0eb92fe4e49 (patch)
tree22f34774c55e0b0850899ffe52d00e8b6997cb52 /assets
parent0f0b166ecb5b8b45cb494ba2186863e4faefd9ec (diff)
downloadandroid_packages_apps_Snap-3d1baa4bbfe7b889e955228ee09ce0eb92fe4e49.tar.gz
android_packages_apps_Snap-3d1baa4bbfe7b889e955228ee09ce0eb92fe4e49.tar.bz2
android_packages_apps_Snap-3d1baa4bbfe7b889e955228ee09ce0eb92fe4e49.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