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
This commit is contained in:
Sam Mortimer
2017-10-11 18:45:49 -07:00
parent 0912ee88c7
commit 68ed16aece

View File

@@ -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);