aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/src
diff options
context:
space:
mode:
authorSam Mortimer <sam@mortimer.me.uk>2017-10-11 18:45:49 -0700
committerSam Mortimer <sam@mortimer.me.uk>2017-10-12 21:08:17 +0000
commit68ed16aece1f31ae26b61101df89b7164db4e4c4 (patch)
tree6fff7f006b193ab1786eb25b0cd1f4d5a98709f2 /sdk/src
parent0912ee88c7ce0ec548089ceb2b4ed8d7f881c99f (diff)
downloadlineage-sdk-68ed16aece1f31ae26b61101df89b7164db4e4c4.tar.gz
lineage-sdk-68ed16aece1f31ae26b61101df89b7164db4e4c4.tar.bz2
lineage-sdk-68ed16aece1f31ae26b61101df89b7164db4e4c4.zip
lineage-sdk internal: remove deviceSupportsLte()
It's no longer used anywhere and has a dependency on frameworks code that we don't want to add to lineage-15.0. Change-Id: Ib25bc214df658e7576e63c73a9c23b7e87ea71d8
Diffstat (limited to 'sdk/src')
-rw-r--r--sdk/src/java/org/lineageos/internal/util/QSUtils.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/sdk/src/java/org/lineageos/internal/util/QSUtils.java b/sdk/src/java/org/lineageos/internal/util/QSUtils.java
index 3c3d80b9..d3a6f58a 100644
--- a/sdk/src/java/org/lineageos/internal/util/QSUtils.java
+++ b/sdk/src/java/org/lineageos/internal/util/QSUtils.java
@@ -236,14 +236,6 @@ public class QSUtils {
ctx.getContentResolver().unregisterContentObserver(observer);
}
-
- public static boolean deviceSupportsLte(Context ctx) {
- final TelephonyManager tm = (TelephonyManager)
- ctx.getSystemService(Context.TELEPHONY_SERVICE);
- return (tm.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE)
- || tm.getLteOnGsmMode() != 0;
- }
-
public static boolean deviceSupportsDdsSupported(Context context) {
TelephonyManager tm = (TelephonyManager)
context.getSystemService(Context.TELEPHONY_SERVICE);