From cad293c4037f20efcd1981f6d2caea90d2a38783 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Fri, 24 Apr 2020 14:33:28 -0700 Subject: [PATCH] universal8895: Add WifiOverlay Bug: 148617260 Test: Device boots up and connects to wifi networks. Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5 --- device-common.mk | 4 ++ rro_overlays/WifiOverlay/Android.bp | 7 +++ rro_overlays/WifiOverlay/AndroidManifest.xml | 27 ++++++++++ .../WifiOverlay/res/values/config.xml | 53 +++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 rro_overlays/WifiOverlay/Android.bp create mode 100644 rro_overlays/WifiOverlay/AndroidManifest.xml create mode 100644 rro_overlays/WifiOverlay/res/values/config.xml diff --git a/device-common.mk b/device-common.mk index 1560e2f..14f5f53 100644 --- a/device-common.mk +++ b/device-common.mk @@ -303,6 +303,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.vibrator@1.0-service.samsung-haptic +# Wi-Fi +PRODUCT_PACKAGES += \ + WifiOverlay + # Wifi PRODUCT_PACKAGES += \ macloader \ diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp new file mode 100644 index 0000000..5407765 --- /dev/null +++ b/rro_overlays/WifiOverlay/Android.bp @@ -0,0 +1,7 @@ +runtime_resource_overlay { + name: "WifiOverlay", + theme: "WifiOverlay", + certificate: "platform", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/rro_overlays/WifiOverlay/AndroidManifest.xml new file mode 100644 index 0000000..122c630 --- /dev/null +++ b/rro_overlays/WifiOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml new file mode 100644 index 0000000..f9d25b3 --- /dev/null +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -0,0 +1,53 @@ + + + + + true + + + 524288,1048576,2097152,262144,524288,1048576 + + + true + + + true + + + false + + + 1 + + + 90 + + + 80 + + + 3600 + + + Samsung Galaxy S7 + -- 2.20.1