View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010648 | MMA | UPnP / Casting | public | 2013-03-14 16:51 | 2013-10-18 12:57 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.4 | ||||
Target Version | 1.0.4 | Fixed in Version | 1.0.4 | ||
Summary | 0010648: Disable UPnP / Wifi Sync for Android < 2.3 | ||||
Description | For Android versions < 2.3 UPnP / WiFi Sync doesn't work correctly due to some incompatibilities with the current UPnP library. These incompatibilities should be resolved, but until we do so, UPnP and WiFi sync should be disabled on those devices. Simplest approach would be to hide that functionality. i.e. Hide: - The UPnP and Sync Now buttons on the home screen - The Sync now option in the global context menu - The Wi-Fi Sync options in the Options menu | ||||
Tags | No tags attached. | ||||
Fixed in build | 125 | ||||
|
Fixed in build 114 |
|
Tested on LG L3 with JB and it is working OK, Haven't tested on <2.3 |
|
This doesn't seem to be fully fixed, as there are still some crashlogs coming when Android 2.2 users apparently get to some UPnP functionality. E.g. crash log 9178da2b-d93d-4ee9-a90d-f451f3088ca2: java.lang.NoSuchMethodError: java.net.NetworkInterface.isUp at org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl.isUsableNetworkInterface(NetworkAddressFactoryImpl.java:341) at org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl.discoverNetworkInterfaces(NetworkAddressFactoryImpl.java:303) at org.fourthline.cling.android.AndroidNetworkAddressFactory.discoverNetworkInterfaces(AndroidNetworkAddressFactory.java:85) at org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl.<init>(NetworkAddressFactoryImpl.java:90) at org.fourthline.cling.android.AndroidNetworkAddressFactory.<init>(AndroidNetworkAddressFactory.java:40) at org.fourthline.cling.android.AndroidUpnpServiceConfiguration.createNetworkAddressFactory(AndroidUpnpServiceConfiguration.java:77) at org.fourthline.cling.DefaultUpnpServiceConfiguration.createNetworkAddressFactory(DefaultUpnpServiceConfiguration.java:257) at org.fourthline.cling.transport.RouterImpl.enable(RouterImpl.java:129) at org.fourthline.cling.android.AndroidRouter.enable(AndroidRouter.java:88) at org.fourthline.cling.UpnpServiceImpl.<init>(UpnpServiceImpl.java:87) at com.ventismedia.android.mediamonkeybeta.upnp.UpnpBrowseService$3.<init>(UpnpBrowseService.java:159) at com.ventismedia.android.mediamonkeybeta.upnp.UpnpBrowseService.onCreate(UpnpBrowseService.java:158) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959) at android.app.ActivityThread.access$3300(ActivityThread.java:125) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) at dalvik.system.NativeStart.main(Native Method) 28-03 08:29:28.613 D: GenreMsDao: 56 Soul and R&B(GenreMsDao.java.getAllGenres():128) 28-03 08:29:28.628 D: GenreMsDao: 57 Christian; Christian P&W(GenreMsDao.java.getAllGenres():128) 28-03 08:29:28.647 D: TransactionManager: ThreadSerializer exiting(TransactionManager.java.run():1196) 28-03 08:29:28.666 I: TransactionManager: ThreadSerializer exit(TransactionManager.java.run():1272) 28-03 08:29:28.668 D: TransactionManager 13: ThreadSerializer is turning off, starting new one...(TransactionManager.java.put():1319) 28-03 08:29:28.697 W: Logger: New ThreadSerializer id from -1 to 46(TransactionManager.java.run():1077) 28-03 08:29:29.288 D: Provider: DELETE FROM new_media;(Provider.java.logSQL():193) 28-03 08:29:29.369 D: TransactionManager: No transaction to end.(TransactionManager.java.processOperation():1021) 28-03 08:29:29.763 D: GenreSync: GenreMedia synchronization end int time 2097(GenreSync.java.syncGenreMedia():135) 28-03 08:29:29.838 D: MediaStoreSyncService: Synchronization finished in 0:43(MediaStoreSyncService.java.doSync():183) 28-03 08:29:29.956 D: MediaStoreSyncService: Sync thread message handled...(MediaStoreSyncService.java.handleMessage():272) 28-03 08:29:30.020 D: ContentService: SYNC_TASK_STOPPED_ACTION received(ContentService.java.onReceive():338) 28-03 08:29:30.052 D: CacheHelper: Clear caches(CacheHelper.java.clearCaches():53) 28-03 08:29:30.076 I: ContentService: doNextAction(ContentService.java.doNextAction():271) 28-03 08:29:30.096 D: ContentService: No task in queue(ContentService.java.doNextAction():277) 28-03 08:29:30.117 I: ContentService: onDestroy(ContentService.java.onDestroy():368) 28-03 08:29:30.136 D: StorageObserverService: Start observers(StorageObserverService.java.startObservers():165) 28-03 08:29:30.154 D: MediaStoreObserver: Start(MediaStoreObserver.java.start():67) 28-03 08:29:30.463 D: HomeActivity: Intent command received(HomeActivity.java.onReceive():74) 28-03 08:29:30.496 D: HomeActivity: Intent command received(HomeActivity.java.onReceive():74) 28-03 08:29:30.544 D: HomeActivity: Intent command received(HomeActivity.java.onReceive():74) 28-03 08:29:30.759 D: TransactionManager: ThreadSerializer exiting(TransactionManager.java.run():1196) 28-03 08:29:30.784 I: TransactionManager: ThreadSerializer exit(TransactionManager.java.run():1272) 28-03 08:29:32.441 D: MediaStoreObserver: Delayed start(MediaStoreObserver.java.handleMessage():196) 28-03 08:29:41.166 I: MiniPlayerActivity: onPause(MiniPlayerActivity.java.onPause():141) 28-03 08:29:41.289 I: SinglePaneActivity: onCreate(SinglePaneActivity.java.onCreate():55) 28-03 08:29:41.310 W: Logger: setContentView(ActionBarActivity.java.setContentView():154) 28-03 08:29:41.376 D: SyncDetailsFragment: onActivityCreated(SyncDetailsFragment.java.onActivityCreated():269) 28-03 08:29:41.432 D: WifiSyncService: Service is not running(WifiSyncService.java.isStarted():172) 28-03 08:29:41.458 I: ContentService: Service is not running(ContentService.java.isStarted():101) 28-03 08:29:41.575 D: WifiEnabler: Wifi enabled(WifiEnabler.java.onReceive():246) 28-03 08:29:41.594 I: SinglePaneActivity: onCreate(SinglePaneActivity.java.onCreate():55) 28-03 08:29:41.610 W: Logger: setContentView(ActionBarActivity.java.setContentView():154) 28-03 08:29:41.645 D: WifiSyncSearchDevicesActivity: onCreate(WifiSyncSearchDevicesActivity.java.onCreate():119) 28-03 08:29:41.675 D: AbsUpnpSearchDevicesFragment: onActivityCreated(AbsUpnpSearchDevicesFragment.java.onActivityCreated():172) 28-03 08:29:41.745 D: AbsUpnpSearchDevicesFragment: onWifiAvailable(AbsUpnpSearchDevicesFragment.java.onWifiAvailable():202) 28-03 08:29:41.761 D: AbsUpnpSearchDevicesFragment: discoverDevices(AbsUpnpSearchDevicesFragment.java.discoverDevices():310) 28-03 08:29:41.804 D: ExtendedListFragment: onResume(ExtendedListFragment.java.onResume():152) 28-03 08:29:41.820 D: ExtendedListFragment: initTitleListener(ExtendedListFragment.java.initTitleListener():75) 28-03 08:29:41.839 D: UpnpBrowseService: onCreate(UpnpBrowseService.java.onCreate():155) |
|
I have no idea how they access the sync functionality. I tested it many times and went through whole app. I added logs to build 121 to detect the enter point. |
|
Fixed in build 125 |
|
Verified. |