Skip to content
Snippets Groups Projects
Commit b9989e69 authored by AdarshGrewal's avatar AdarshGrewal Committed by Dhina17
Browse files

onclite: rro_overlays: Set correct hotspot SSID


Check device variant by using ro.boot.hwversion and set the correct
device name based on value of ro.product.model on stock ROM.

[Dhina17: Adapted for onclite]
Change-Id: Iae15a7d3558f3c4608546e42ed655a76a0fe8868
Signed-off-by: default avatarDhina17 <dhinalogu@gmail.com>
parent 23d937a3
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_PACKAGES += \
OncWifiOverlay \
WifiOverlay
# Screen density
......
//
// Copyright (C) 2023 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "OncWifiOverlay",
vendor: true
}
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.onc"
android:versionCode="1"
android:versionName="1.0">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization"
android:isStatic="true"
android:requiredSystemPropertyName="ro.boot.hwversion"
android:requiredSystemPropertyValue="1.19.0"
android:priority="850"/>
</manifest>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">Redmi Y3</string>
</resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment