DivestOS/Patches/OmniROM-7.0/android_device_lge_mako/Enable_LTE.patch

54 lines
2.5 KiB
Diff
Raw Normal View History

2016-12-21 19:30:02 -05:00
From af0eabf8ee0d6e3a677f0f4e2e7339a44f635586 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 26 Oct 2016 21:26:42 -0400
Subject: [PATCH] Enable LTE
Change-Id: Ia918caa4bdde40807a24b157f8a825bfb501d351
---
overlay/frameworks/base/core/res/res/values/config.xml | 2 +-
overlay/frameworks/base/packages/SystemUI/res/values/config.xml | 3 +++
overlay/packages/services/Telephony/res/values/config.xml | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 7029fe9..807ad28 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -224,7 +224,7 @@
Empty is viewed as "all". Only used on devices which
don't support RIL_REQUEST_GET_RADIO_CAPABILITY
format is UMTS|LTE|... -->
- <string translatable="false" name="config_radio_access_family">GSM | WCDMA | LTE</string>
+ <string translatable="false" name="config_radio_access_family">GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|LTE|HSPAP|GSM|WCDMA</string>
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
<bool name="config_cellBroadcastAppLinks">true</bool>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index f9febfe..e41fbaf 100644
--- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -40,5 +40,8 @@
<!-- Doze: shake accelerometer threshold -->
<integer name="doze_shake_accelerometer_threshold">10</integer>
+
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
</resources>
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
index af352a4..22c65ea 100644
--- a/overlay/packages/services/Telephony/res/values/config.xml
+++ b/overlay/packages/services/Telephony/res/values/config.xml
@@ -21,4 +21,7 @@
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>
+
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
</resources>
--
2.9.3