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:
committed by
Sebastiano Barezzi
parent
644496f192
commit
837c9f37e5
@@ -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
13
rootdir/Android.bp
Normal 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,
|
||||
}
|
||||
9
rootdir/etc/init.device.rc
Normal file
9
rootdir/etc/init.device.rc
Normal 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
|
||||
Reference in New Issue
Block a user