Bug Affecting Android Wear / Smart watch

Need help? Post your questions here.

Moderator: moderators

Bug Affecting Android Wear / Smart watch

Postby cromnet » Mon May 04, 2015 10:24 pm

I am having an issue with my android smart watch, the Moto 360 to be specific. when a receive a call on my phone, it alerts me on watch and i should be able to answer or reject the call. However, when subsonic is installed on my phone this functionality does not work. When i attempt to answer a call, the phone does not answer the call and instead starts playing the music in the subsonic queue and continues to ring. If there is nothing in the queue, the call still does not get answered and continues to ring.

I have not determined the exact cause of this bug, however i have confirmed that subsonic is indeed causing the problem. as a matter of protocol i removed the app and tested, then installed the app again to retest and produced the same results. Without subsonic the Android wear works normally and i can answer calls with the watch without issue.
cromnet
 
Posts: 12
Joined: Thu Dec 13, 2012 7:09 pm

Re: Bug Affecting Android Wear / Smart watch

Postby cromnet » Mon May 04, 2015 11:07 pm

Got some more information on this from logcat (see below). looks like the watch is sending a media key with the key code "KEYCODE_HEADSETHOOK", for whatever reason this is getting caught by the MediaButtonIntentReceiver object / class and causing it to take action. Without fully examining the code for this class, i can't really say why this happens.


05-04 18:59:42.840 8757-8757/? I/subsonic.MediaButtonIntentReceiver? Got MEDIA_BUTTON key event: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_HEADSETHOOK, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0 }
05-04 18:59:42.843 8757-8757/? D/subsonic.CancellableTask? Cancelling BufferTask (DownloadFile (Angel Of Death))
05-04 18:59:42.843 8757-8757/? I/subsonic.DownloadServiceImpl? IDLE -> IDLE (null)
05-04 18:59:42.848 919-1528/? I/MediaFocusControl? Remote Control registerMediaButtonIntent() for PendingIntent{42fd78b0: PendingIntentRecord{42e0a4e0 net.sourceforge.subsonic.androidapp broadcastIntent}}
05-04 18:59:42.874 8757-8757/? I/subsonic.MediaButtonIntentReceiver? Got MEDIA_BUTTON key event: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_HEADSETHOOK, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0 }
cromnet
 
Posts: 12
Joined: Thu Dec 13, 2012 7:09 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 32 guests