Added call forwarding number
diff --git a/src/com/tmobile/themes/provider/ProfileItem.java b/src/com/tmobile/themes/provider/ProfileItem.java
index d21d7d3..05c69d8 100644
--- a/src/com/tmobile/themes/provider/ProfileItem.java
+++ b/src/com/tmobile/themes/provider/ProfileItem.java
@@ -75,6 +75,7 @@
private int mColumnNotificationUri;
private int mColumnWallpaperUri;
private int mColumnLockWallpaperUri;
+ private int mColumnCallFowardingNumber;
private int mColumnSceneId;
private int mColumnIsActive;
private int mColumnIsRestrictedScene;
@@ -116,6 +117,7 @@
mColumnNotificationUri = c.getColumnIndex(ProfileColumns.NOTIFICATION_URI);
mColumnWallpaperUri = c.getColumnIndex(ProfileColumns.WALLPAPER_URI);
mColumnLockWallpaperUri = c.getColumnIndex(ProfileColumns.LOCK_WALLPAPER_URI);
+ mColumnCallFowardingNumber = c.getColumnIndex(ProfileColumns.CALL_FORWARDING_NUMBER);
mColumnSceneId = c.getColumnIndex(ProfileColumns.SCENE_ID);
mColumnIsActive = c.getColumnIndex(ProfileColumns.IS_ACTIVE);
mColumnIsRestrictedScene = c.getColumnIndex(ProfileColumns.IS_RESTRICTED);
@@ -194,6 +196,13 @@
}
/**
+ * @return the call forwarding number
+ */
+ public Uri getCallForwardingNumber() {
+ return parseUriNullSafe(mCursor.getString(mColumnCallFowardingNumber));
+ }
+
+ /**
* @return the scene id
*/
public int getSceneId() {
diff --git a/src/com/tmobile/themes/provider/Profiles.java b/src/com/tmobile/themes/provider/Profiles.java
index 8d6e710..aa5cd66 100644
--- a/src/com/tmobile/themes/provider/Profiles.java
+++ b/src/com/tmobile/themes/provider/Profiles.java
@@ -174,6 +174,7 @@
public static final String NOTIFICATION_URI = "notification_uri";
public static final String WALLPAPER_URI = "wallpaper_uri";
public static final String LOCK_WALLPAPER_URI = "lock_wallpaper_uri";
+ public static final String CALL_FORWARDING_NUMBER = "call_forwarding_number";
public static final String SCENE_ID = "scene_id";
public static final String IS_ACTIVE = "is_active";
public static final String IS_RESTRICTED = "is_restricted";