You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.6 KiB
69 lines
2.6 KiB
#
|
|
# Copyright 2016 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.
|
|
#
|
|
|
|
PRODUCT_HARDWARE := sargo
|
|
|
|
include device/google/bonito/device-common.mk
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += device/google/bonito/sargo/overlay
|
|
|
|
# SKU specific RROs
|
|
PRODUCT_PACKAGES += \
|
|
SettingsOverlayG020E \
|
|
SettingsOverlayG020E_VN \
|
|
SettingsOverlayG020F \
|
|
SettingsOverlayG020F_VN \
|
|
SettingsOverlayG020G \
|
|
SettingsOverlayG020G_VN \
|
|
SettingsOverlayG020H \
|
|
SettingsOverlayG020H_VN \
|
|
|
|
# Setup wizard overlay packages for ActiveEdge
|
|
PRODUCT_PACKAGES += \
|
|
PixelSetupWizardOverlayActiveEdge \
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/bonito/nfc/libnfc-nxp.sargo.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
|
|
device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020E.conf \
|
|
device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020F.conf \
|
|
device/google/bonito/nfc/libnfc-nxp.sargo.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020G.conf \
|
|
device/google/bonito/nfc/libnfc-nxp.sargo.ese.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G020H.conf
|
|
|
|
PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.height_ratio=1.2
|
|
|
|
# Vibrator HAL
|
|
PRODUCT_PRODUCT_PROPERTIES +=\
|
|
ro.vendor.vibrator.hal.config.dynamic=1 \
|
|
ro.vendor.vibrator.hal.click.duration=8 \
|
|
ro.vendor.vibrator.hal.tick.duration=5 \
|
|
ro.vendor.vibrator.hal.heavyclick.duration=12 \
|
|
ro.vendor.vibrator.hal.short.voltage=110 \
|
|
ro.vendor.vibrator.hal.long.voltage=80 \
|
|
ro.vendor.vibrator.hal.long.frequency.shift=10 \
|
|
ro.vendor.vibrator.hal.double_click.duration=182
|
|
|
|
# DRV2624 Haptics Waveform
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/bonito/vibrator/drv2624/drv2624_S4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin
|
|
|
|
# camera front flashColor
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.camera.front.flashColor=0xffe1c1
|
|
|
|
# Add white point compensated coefficient
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
vendor.display.adaptive_white_coefficient=0.0031,0.5535,-87.498,0.0031,0.5535,-87.498,0.0031,0.5535,-87.498
|