From 5564c382780d66a4f81bcd3392f644bfd4cf9673 Mon Sep 17 00:00:00 2001 From: Glen Kuhne Date: Fri, 7 Apr 2017 14:54:17 -0700 Subject: [PATCH] kane: Set default hotspot ssid Added a device specific overlay that changes the default name from "AndroidAp" to customized name Test: Builds, manually verified name change Bug: 36368950 Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf --- device.mk | 4 ++++ rro_overlays/KaneWifiOverlay/Android.bp | 6 +++++ .../KaneWifiOverlay/AndroidManifest.xml | 24 +++++++++++++++++++ .../KaneWifiOverlay/res/values/config.xml | 22 +++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 rro_overlays/KaneWifiOverlay/Android.bp create mode 100644 rro_overlays/KaneWifiOverlay/AndroidManifest.xml create mode 100644 rro_overlays/KaneWifiOverlay/res/values/config.xml diff --git a/device.mk b/device.mk index 745591f..04b485e 100644 --- a/device.mk +++ b/device.mk @@ -19,3 +19,7 @@ $(call inherit-product, device/motorola/exynos9610-common/common.mk) # Inherit proprietary files $(call inherit-product, vendor/motorola/kane/kane-vendor.mk) + +# Wi-Fi +PRODUCT_PACKAGES += \ + KaneWifiOverlay diff --git a/rro_overlays/KaneWifiOverlay/Android.bp b/rro_overlays/KaneWifiOverlay/Android.bp new file mode 100644 index 0000000..79fbef0 --- /dev/null +++ b/rro_overlays/KaneWifiOverlay/Android.bp @@ -0,0 +1,6 @@ +runtime_resource_overlay { + name: "KaneWifiOverlay", + theme: "KaneWifiOverlay", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/KaneWifiOverlay/AndroidManifest.xml b/rro_overlays/KaneWifiOverlay/AndroidManifest.xml new file mode 100644 index 0000000..7ffed00 --- /dev/null +++ b/rro_overlays/KaneWifiOverlay/AndroidManifest.xml @@ -0,0 +1,24 @@ + + + + + + + diff --git a/rro_overlays/KaneWifiOverlay/res/values/config.xml b/rro_overlays/KaneWifiOverlay/res/values/config.xml new file mode 100644 index 0000000..22e268d --- /dev/null +++ b/rro_overlays/KaneWifiOverlay/res/values/config.xml @@ -0,0 +1,22 @@ + + + + + motorola one vision + -- 2.20.1