pipa: rootdir: Use US for WiFi country code

* Considering that the only two versions of this device
   are `GLOBAL` and `CN`, and that the former already sets
   `US` as countrycode regardless of anything, set it for
   the `CN` version as well, since this version of the device
   is mostly used and imported all over the world.

Change-Id: Iaf6b0c1ae202425c0c83d2eb51ce5cec651d6876
This commit is contained in:
Davide Garberi
2023-11-27 20:55:15 +01:00
committed by Sebastiano Barezzi
parent 644496f192
commit 837c9f37e5
3 changed files with 26 additions and 0 deletions

View File

@@ -38,6 +38,10 @@ DEVICE_PACKAGE_OVERLAYS += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Rootdir
PRODUCT_PACKAGES += \
init.device.rc
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 30

13
rootdir/Android.bp Normal file
View File

@@ -0,0 +1,13 @@
//
// Copyright (C) 2023 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
// Init configuration files
prebuilt_etc {
name: "init.device.rc",
src: "etc/init.device.rc",
sub_dir: "init/hw",
vendor: true,
}

View File

@@ -0,0 +1,9 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
on boot
# WiFi country code
setprop ro.boot.wificountrycode US