From 5dc6b6d6b48f21822cd104a593525623daab284a Mon Sep 17 00:00:00 2001
From: Alexander Koskovich <akoskovich@pm.me>
Date: Thu, 27 Jan 2022 14:23:56 -0700
Subject: [PATCH] sm8350-common: Drop support for Snapdragon Camera

 * Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
---
 common.mk                                     |  3 ---
 .../packages/apps/Snap/res/values/config.xml  | 27 -------------------
 2 files changed, 30 deletions(-)
 delete mode 100644 overlay-lineage/packages/apps/Snap/res/values/config.xml

diff --git a/common.mk b/common.mk
index 84e3890..a88e95b 100644
--- a/common.mk
+++ b/common.mk
@@ -136,9 +136,6 @@ PRODUCT_PACKAGES_DEBUG += \
     bootctl
 
 # Camera
-PRODUCT_PACKAGES += \
-    Snap
-
 PRODUCT_PACKAGES += \
     android.hardware.camera.provider@2.4-impl \
     android.hardware.camera.provider@2.4-service_64 \
diff --git a/overlay-lineage/packages/apps/Snap/res/values/config.xml b/overlay-lineage/packages/apps/Snap/res/values/config.xml
deleted file mode 100644
index 9e6b0f3..0000000
--- a/overlay-lineage/packages/apps/Snap/res/values/config.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-     Copyright (C) 2020 The LineageOS 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>
-    <!-- Enable support for camera api v2 -->
-    <bool name="support_camera_api_v2">true</bool>
-
-    <!-- Opens back camera using openLegacy() -->
-    <bool name="back_camera_open_legacy">false</bool>
-
-    <!-- Opens front camera using openLegacy() -->
-    <bool name="front_camera_open_legacy">false</bool>
-</resources>
-- 
GitLab