gts3l-common: snap: Do not use legacy HAL in Snap app

The overrided options are;
- RAM optimization
- Make it not use HAL1
- Some optimizations of default perferences

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I46d98beb1fa0c51fd79b088572e45207c46a92e9
This commit is contained in:
Deokgyu Yang 2021-08-30 21:35:09 +09:00
parent ec51243b9d
commit edfea17f66
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The Android Open Source Project
2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Camera app resources that may need to be customized
for different hardware or product builds. -->
<resources>
<!-- This value may be tweaked to save memory on low RAM devices. The value
is the percentage of camera preview height/width to scale to. -->
<integer name="panorama_frame_size_reduction">100</integer>
<!-- Opens back camera using openLegacy() and forces api v1 -->
<bool name="back_camera_open_legacy">false</bool>
<!-- Opens front camera using openLegacy() and forces api v1 -->
<bool name="front_camera_open_legacy">false</bool>
</resources>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012-2014, The Linux Foundation. All rights reserved.
(C) 2014-2016 The CyanogenMod Project
(C) 2017 The LineageOS Project
Not a Contribution.
Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- HDR needs 1x frame -->
<string name="pref_camera_hdr_need_1x_default" translatable="false">false</string>
<string name="pref_camera_scenedetect_default" translatable="false">on</string>
<string name="pref_camera_dis_default" translatable="false">enable</string>
<string name="pref_video_quality_default" translatable="false">1920x1080</string>
</resources>