summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/cyanogenmod/PowerWidgetUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/cyanogenmod/PowerWidgetUtil.java')
-rw-r--r--src/com/android/settings/cyanogenmod/PowerWidgetUtil.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/android/settings/cyanogenmod/PowerWidgetUtil.java b/src/com/android/settings/cyanogenmod/PowerWidgetUtil.java
index 9dc70de..ebd743e 100644
--- a/src/com/android/settings/cyanogenmod/PowerWidgetUtil.java
+++ b/src/com/android/settings/cyanogenmod/PowerWidgetUtil.java
@@ -16,7 +16,7 @@
package com.android.settings.cyanogenmod;
-import com.android.internal.telephony.Phone;
+import com.android.internal.telephony.PhoneConstants;
import com.android.settings.R;
import android.content.Context;
@@ -111,13 +111,12 @@ public class PowerWidgetUtil {
BUTTONS.put(BUTTON_MEDIA_NEXT, new PowerWidgetUtil.ButtonInfo(
BUTTON_MEDIA_NEXT, R.string.title_toggle_media_next,
"com.android.systemui:drawable/stat_media_next"));
- /* Disabled until LTE support is re-added
- if(Phone.LTE_ON_CDMA_TRUE == TelephonyManager.getDefault().getLteOnCdmaMode() ||
+ if(PhoneConstants.LTE_ON_CDMA_TRUE == TelephonyManager.getDefault().getLteOnCdmaMode() ||
TelephonyManager.getDefault().getLteOnGsmMode() != 0) {
BUTTONS.put(BUTTON_LTE, new PowerWidgetUtil.ButtonInfo(
BUTTON_LTE, R.string.title_toggle_lte,
"com.android.systemui:drawable/stat_lte_on"));
- }*/
+ }
BUTTONS.put(BUTTON_WIMAX, new PowerWidgetUtil.ButtonInfo(
BUTTON_WIMAX, R.string.title_toggle_wimax,
"com.android.systemui:drawable/stat_wimax_on"));