2021-05-19 13:18:49 +08:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2020 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.
|
|
|
|
|
#
|
|
|
|
|
|
2022-07-13 00:29:19 +08:00
|
|
|
ifneq ($(BOARD_WITHOUT_RADIO),true)
|
2022-01-06 17:40:50 +08:00
|
|
|
-include vendor/google_devices/gs201/proprietary/telephony/device-vendor.mk
|
2022-07-13 00:29:19 +08:00
|
|
|
endif
|
2021-05-19 15:31:47 +08:00
|
|
|
include device/google/gs201/device.mk
|
2021-05-19 13:18:49 +08:00
|
|
|
|
2022-07-14 23:08:13 +08:00
|
|
|
ifneq ($(BOARD_WITHOUT_RADIO),true)
|
2021-05-19 13:18:49 +08:00
|
|
|
# Telephony
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml
|
2022-07-14 23:08:13 +08:00
|
|
|
endif
|
2021-05-19 13:18:49 +08:00
|
|
|
|
2022-01-18 10:49:23 +08:00
|
|
|
# Android Verified Boot
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
|
|
|
|
|
|
2021-05-19 13:18:49 +08:00
|
|
|
# Set system properties identifying the chipset
|
|
|
|
|
PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
|
2021-05-19 21:37:18 -07:00
|
|
|
PRODUCT_VENDOR_PROPERTIES += ro.soc.model=GS201
|
2021-05-19 13:18:49 +08:00
|
|
|
|
|
|
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
2021-05-18 09:00:06 +08:00
|
|
|
persist.vendor.testing_battery_profile=2
|
2022-01-10 19:19:05 -08:00
|
|
|
|
2022-02-23 18:35:39 +08:00
|
|
|
# The default value of this variable is false and should only be set to true when
|
|
|
|
|
# the device allows users to retain eSIM profiles after factory reset of user data.
|
|
|
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
|
|
|
masterclear.allow_retain_esim_profiles_after_fdr=true
|
|
|
|
|
|
2022-01-10 19:19:05 -08:00
|
|
|
# ZramWriteback
|
|
|
|
|
-include hardware/google/pixel/mm/device_gki.mk
|
2022-10-11 10:23:28 -07:00
|
|
|
|
|
|
|
|
# Set thermal warm reset
|
|
|
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
|
|
|
ro.thermal_warmreset = true
|
2023-10-24 07:59:40 -07:00
|
|
|
|
|
|
|
|
# Trigger fsck on upgrade (305658663)
|
|
|
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
|
|
|
ro.preventative_fsck = 1
|