extra: MotCamera2-denali is now default

Change-Id: Ib96ed61da354a4940e7c64959a70f60fe91bb7af
lineage-19.1
Nolen Johnson 3 years ago
parent 3946d01221
commit e0fc5bb28b
  1. 31
      oem-cameras/MotCamera2-denali/Android.mk
  2. BIN
      oem-cameras/MotCamera2-denali/MotCamera2-denali.apk
  3. 5
      oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
  4. 11
      oem-cameras/MotCamera2-denali/privapp-permissions-com.motorola.camera2.denali.xml
  5. 6
      product.mk

@ -1,31 +0,0 @@
# Copyright (C) 2017-2018 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.
# This file is generated by device/motorola/nash/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := MotCamera2-denali
LOCAL_MODULE_OWNER := motorola
LOCAL_SRC_FILES := MotCamera2-denali.apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_DEX_PREOPT := false
LOCAL_MODULE_SUFFIX := .apk
LOCAL_PRIVILEGED_MODULE := true
LOCAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/$(LOCAL_SRC_FILES)
LOCAL_OVERRIDES_PACKAGES := Snap
include $(BUILD_PREBUILT)

@ -1,5 +0,0 @@
PRODUCT_PACKAGES += \
MotCamera2-denali
PRODUCT_COPY_FILES += \
vendor/extra/oem-cameras/MotCamera2-denali/privapp-permissions-com.motorola.camera2.denali.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-com.motorola.camera2.xml

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<privapp-permissions package="com.motorola.camera2">
<!-- System defined permissions -->
<permission name="android.permission.STOP_APP_SWITCHES" />
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
<permission name="android.permission.WRITE_MEDIA_STORAGE" />
</privapp-permissions>
</permissions>

@ -10,12 +10,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.adb.shell=/system/xbin/bash persist.sys.adb.shell=/system/xbin/bash
## Custom Cameras
# river
ifneq ($(filter %river,$(TARGET_PRODUCT)),)
-include vendor/extra/oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
endif
## fastbootd ## fastbootd
PRODUCT_PACKAGES += fastbootd PRODUCT_PACKAGES += fastbootd
PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true

Loading…
Cancel
Save