1#
2# Copyright (C) 2020 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17include device/google/gs101/device.mk
18
19# Telephony
20PRODUCT_COPY_FILES += \
21    frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml
22
23# Android Verified Boot
24PRODUCT_COPY_FILES += \
25    frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
26
27# Factory OTA
28-include vendor/unbundled_google/packages/FactoryOtaPrebuilt/factoryota.mk
29
30# Set system properties identifying the chipset
31PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
32PRODUCT_VENDOR_PROPERTIES += ro.soc.model=Tensor
33
34PRODUCT_PRODUCT_PROPERTIES += \
35    persist.vendor.testing_battery_profile=2
36
37# The default value of this variable is false and should only be set to true when
38# the device allows users to retain eSIM profiles after factory reset of user data.
39PRODUCT_PRODUCT_PROPERTIES += \
40    masterclear.allow_retain_esim_profiles_after_fdr=true
41
42# ZramWriteback
43-include hardware/google/pixel/mm/device_gki.mk
44