Skip to content

Commit

Permalink
ocn: use built cameraservice and camera_client
Browse files Browse the repository at this point in the history
Change-Id: I7709c2262f0ce9ae5f889fb61a469f9fd1b2e496
  • Loading branch information
Flinny committed Sep 6, 2017
1 parent 47a807b commit 12fa94b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
33 changes: 33 additions & 0 deletions overlay/packages/apps/Snap/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 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.
-->

<!-- Camera app resources that may need to be customized
for different hardware or product builds. -->
<resources>

<!-- 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>

<!-- Restart preview for back camera onPictureTaken -->
<bool name="back_camera_restart_preview_onPictureTaken">true</bool>

<!-- Restart preview for front camera onPictureTaken -->
<bool name="front_camera_restart_preview_onPictureTaken">true</bool>

</resources>
6 changes: 0 additions & 6 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -628,12 +628,6 @@ vendor/lib64/libscveTextReco_stub.so
vendor/lib64/libscveVideoSummary.so
vendor/lib64/libscveVideoSummary_stub.so

# Camera Hack - Temporary
lib/libcameraservice.so
lib64/libcameraservice.so
lib/libcamera_client.so
lib64/libcamera_client.so

# CNE
bin/cnd
etc/cne/andsfCne.xml
Expand Down

0 comments on commit 12fa94b

Please sign in to comment.