summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-12-18 17:09:37 +0100
committerGravatar Martin Szulecki2012-03-18 18:41:15 +0100
commit9f06cc4f850983b7527156a95bc19efa253017fe (patch)
tree407b5ef615ff7273443b27ac8dc2362a62efae2e
parent45a3f0403849b42cc500295e8f2f35af18f0e903 (diff)
downloadsbmanager-9f06cc4f850983b7527156a95bc19efa253017fe.tar.gz
sbmanager-9f06cc4f850983b7527156a95bc19efa253017fe.tar.bz2
Add iPod Touch 4G to device list
-rw-r--r--src/device.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index fbb3ecb..11aecc3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -312,15 +312,16 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError **
lockdownd_get_value(client, NULL, "ProductType", &node);
if (node) {
char *devtype = NULL;
- const char *devtypes[8][2] = {
+ const char *devtypes[9][2] = {
{"iPhone1,1", "iPhone"},
{"iPhone1,2", "iPhone 3G"},
{"iPhone2,1", "iPhone 3GS"},
{"iPhone3,1", "iPhone 4"},
{"iPad1,1", "iPad"},
{"iPod1,1", "iPod Touch"},
- {"iPod2,1", "iPod touch (2G)"},
- {"iPod3,1", "iPod Touch (3G)"}
+ {"iPod2,1", "iPod Touch (2G)"},
+ {"iPod3,1", "iPod Touch (3G)"},
+ {"iPod4,1", "iPod Touch (4G)"}
};
plist_get_string_val(node, &devtype);
if (devtype) {