From 52394da04cb79e68c97f9662e0eb55fd872a3d47 Mon Sep 17 00:00:00 2001 From: Glen Kuhne Date: Fri, 7 Apr 2017 14:54:17 -0700 Subject: [PATCH] troika: 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/TroikaWifiOverlay/Android.bp | 6 +++++ .../TroikaWifiOverlay/AndroidManifest.xml | 24 +++++++++++++++++++ .../TroikaWifiOverlay/res/values/config.xml | 22 +++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 rro_overlays/TroikaWifiOverlay/Android.bp create mode 100644 rro_overlays/TroikaWifiOverlay/AndroidManifest.xml create mode 100644 rro_overlays/TroikaWifiOverlay/res/values/config.xml diff --git a/device.mk b/device.mk index 44399af..6aa65d8 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/troika/troika-vendor.mk) + +# Wi-Fi +PRODUCT_PACKAGES += \ + TroikaWifiOverlay diff --git a/rro_overlays/TroikaWifiOverlay/Android.bp b/rro_overlays/TroikaWifiOverlay/Android.bp new file mode 100644 index 0000000..125c95a --- /dev/null +++ b/rro_overlays/TroikaWifiOverlay/Android.bp @@ -0,0 +1,6 @@ +runtime_resource_overlay { + name: "TroikaWifiOverlay", + theme: "TroikaWifiOverlay", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/TroikaWifiOverlay/AndroidManifest.xml b/rro_overlays/TroikaWifiOverlay/AndroidManifest.xml new file mode 100644 index 0000000..ac850ff --- /dev/null +++ b/rro_overlays/TroikaWifiOverlay/AndroidManifest.xml @@ -0,0 +1,24 @@ + + + + + + + diff --git a/rro_overlays/TroikaWifiOverlay/res/values/config.xml b/rro_overlays/TroikaWifiOverlay/res/values/config.xml new file mode 100644 index 0000000..0eb6d8e --- /dev/null +++ b/rro_overlays/TroikaWifiOverlay/res/values/config.xml @@ -0,0 +1,22 @@ + + + + + motorola one action + -- 2.20.1