GNOME Bugzilla – Bug 676187
Only enable iTunes File Sharing on iOS 3.2 or later
Last modified: 2014-04-16 11:09:55 UTC
iTunes File Sharing requires iOS 3.2 or later and thus we should not try to use the house_arrest service on devices running older iOS versions. The current code would yield "Unable to mount Documents on iPod touch: Unhandled Lockdown error (-17)" in such a situation. We expect to only enable this functionality on iOS 3.2 and later and skip it silently for older versions.
Created attachment 255212 [details] [review] afc: Check for iOS >= 3.1.2 to enable house arrest
Fine, feel free to commit/push (don't have access myself).
(In reply to comment #2) > Fine, feel free to commit/push (don't have access myself). Does your message mean that you tested attached patch and it works like expected? If you didn't test it, please do. The patch looks good, however I'm unable to test it properly...
(In reply to comment #3) > The patch looks good, however I'm > unable to test it properly... I don't think any of us are, really :) iOS 3.x got obsoleted in 2010.
If the patch looks fine to you, please commit.
We still got these old devices and I can verify this patch if it works if you really want that. However, these old devices do simply have no support for the house_arrest service which wasn't implemented by Apple back then and the patch looks simple enough to correctly handle this. Thus I don't really think a real test is needed here except warnings/build issues (unless you insist).
Review of attachment 255212 [details] [review]: It looks good. Not sure if gvfsbackedafc.c doesn't needs also some changes...
(In reply to comment #7) > Review of attachment 255212 [details] [review]: > > It looks good. Not sure if gvfsbackedafc.c doesn't needs also some changes... No, because the backend wouldn't be instantiated if the monitor didn't find the device capable.
Comment on attachment 255212 [details] [review] afc: Check for iOS >= 3.1.2 to enable house arrest master: commit 57e9a7f28aac02d8f27ef15d76440a0aa4dd2973 gnome-3-12: commit 1a43c46737a11ed985549528ef7b342fdc6b35e5