Gartral / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Bluetooth notification fails #381

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Enable bluetooth notification
2.
3.

What is the expected output? What do you see instead?
Receive notification on computer 

Please paste the application's log here (it should now be on your
clipboard):
D/WifiService(   92): ACTION_WIFI_ACTIVE
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_WIFI_ACTIVE
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_WIFI_ACTIVE
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_WIFI_ACTIVE
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiWatchdogService(   92): (android.server.ServerThread) PIPINTERNET 
(9c:af:ca:e8:22:e0) does not require the watchdog
D/WifiService(   92): acquireWifiLockLocked: WifiLock{TwidroidBackgroundService 
type=1 binder=android.os.BinderProxy@467bd448}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{TwidroidBackgroundService 
type=1 binder=android.os.BinderProxy@467bd448}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiWatchdogService(   92): (android.server.ServerThread) GCS 
(00:26:75:02:d7:5e) does not require the watchdog
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@4623ad98}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{TwidroidBackgroundService 
type=1 binder=android.os.BinderProxy@46383038}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{TwidroidBackgroundService 
type=1 binder=android.os.BinderProxy@46383038}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
I/BluetoothHeadsetService(  195): waitForConnect(): return result = -9
D/BluetoothHeadsetService(  195): RFCOMM connection attempt took 5514 ms
W/BluetoothHeadsetService(  195): headset.waitForAsyncConnect() error: -9
D/BluetoothHeadsetService(  195): Rfcomm error
D/BluetoothHeadsetService(  195): Headset state 1 -> 0, result = 0
I/BluetoothHeadsetService(  195): Paired HS list have more than one item, but 
don't do next reconnection
V/BluetoothEventRedirector(  293): Received 
android.bluetooth.headset.action.STATE_CHANGED
I/BluetoothEventRedirector(  293): Failed to connect BT headset
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
E/BluetoothHandsfree(  195): onCallDisconnected()
D/BluetoothHandsfree(  195): audioOff(): mPendingSco: false, mScoSocket: , 
mA2dpState: 0, mA2dpSuspended: false
D/PhoneUtils(  195): setAudioMode(MODE_NORMAL)...
D/PhoneUtils(  195): setAudioMode(MODE_NORMAL)...
D/NotificationFlashLightUtility getIncomingCall(  195): load fail~~~~~~~~~~
D/BluetoothHandsfree(  195): updatePhoneState()
E/PhoneApp(  195): mStatusBarDisableCount is already zero
I/BluetoothA2dpService(   92): RESUME_PHONE_STATE
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()false
E/BluetoothHandsfree(  195): Not allow to sent RING, ignore it
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 9937): Battery status: NOT charging
D/RemoteNotifier( 9937): Got battery level: 87
D/RemoteNotifier( 9937): Battery level change: 1
D/RemoteNotifier( 9937): Got battery update, but state change was not relevant
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 9937): Not starting service again
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 9937): Not starting service again
I/BluetoothA2dpService(   92): suspend A2dp mixer due to phone state exit normal
D/RemoteNotifier( 9937): Sending notification: 
v2/5162f48306d816ad/862736cb89322e/RING/048028752/Dusup - Work (048028752)
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 9937): Connecting to Bluetooth device LOTUS
D/RemoteNotifier( 9937): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 9937): Sending over UDP
D/RemoteNotifier( 9937): Sent over UDP
I/RemoteNotifier( 9937): Sent notification over WiFi.
D/PhoneApp(  195): isLaputaNaviForeground = false
D/BluetoothHandsfree(  195): updatePhoneState()
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
I/BluetoothHeadsetService(  195): Recorded address with highest priority is 
00:21:4F:34:F0:4A
I/BluetoothHeadsetService(  195): Not matched restricted device, start 
reconnection
D/BluetoothHeadsetService(  195): pulled 00:21:4F:34:F0:4A off auto-connect 
queue
D/BluetoothHeadsetService(  195): Headset state 0 -> 1, result = 1
D/BluetoothHeadsetService(  195): SDP UUID: TYPE_HANDSFREE
V/BluetoothEventRedirector(  293): Received 
android.bluetooth.headset.action.STATE_CHANGED
E/InCallScreen(  195): java.lang.NullPointerException
E/InCallScreen(  195): java.lang.NullPointerException
E/InCallScreen(  195):  at 
android.telephony.PhoneNumberUtils.getNumberFromIntent(PhoneNumberUtils.java:179
)
E/InCallScreen(  195):  at 
com.android.phone.PhoneUtils.getNumberFromIntent(PhoneUtils.java:1532)
E/InCallScreen(  195):  at 
com.android.phone.InCallScreen.getInitialNumber(InCallScreen.java:3174)
E/InCallScreen(  195):  at 
com.android.phone.InCallScreen.setupPreloadContactInfo(InCallScreen.java:6553)
E/InCallScreen(  195):  at 
com.android.phone.InCallScreen.internalResolveIntent(InCallScreen.java:1565)
E/InCallScreen(  195):  at 
com.android.phone.InCallScreen.onNewIntent(InCallScreen.java:1547)
E/InCallScreen(  195):  at 
android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1189)
E/InCallScreen(  195):  at 
android.app.ActivityThread.deliverNewIntents(ActivityThread.java:2862)
E/InCallScreen(  195):  at 
android.app.ActivityThread.performNewIntents(ActivityThread.java:2874)
E/InCallScreen(  195):  at 
android.app.ActivityThread.handleNewIntent(ActivityThread.java:2882)
E/InCallScreen(  195):  at 
android.app.ActivityThread.access$3100(ActivityThread.java:135)
E/InCallScreen(  195):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2195)
E/InCallScreen(  195):  at android.os.Handler.dispatchMessage(Handler.java:99)
E/InCallScreen(  195):  at android.os.Looper.loop(Looper.java:144)
E/InCallScreen(  195):  at 
android.app.ActivityThread.main(ActivityThread.java:4937)
E/InCallScreen(  195):  at java.lang.reflect.Method.invokeNative(Native Method)
E/InCallScreen(  195):  at java.lang.reflect.Method.invoke(Method.java:521)
E/InCallScreen(  195):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/InCallScreen(  195):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/InCallScreen(  195):  at dalvik.system.NativeStart.main(Native Method)
I/CallCard(  195): setPhotoImageDrawable:Duplicated drawable
D/BluetoothHandsfree(  195): updatePhoneState()
I/CallCard(  195): setPhotoImageDrawable:Duplicated drawable
I/CallCard(  195): setPhotoImageDrawable:Duplicated drawable
D/NotificationFlashLightUtility getIncomingCall(  195): load fail~~~~~~~~~~
D/PhoneUtils(  195): setAudioMode(MODE_RINGTONE)...
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6104/hci0/dev_00_21_86_3C_BD_FA
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6104/hci0/dev_00_21_86_3C_BD_FA
D/BluetoothService(   92): updateDeviceServiceChannelCache(00:21:86:3C:BD:FA)
D/BluetoothService(   92):  uuid(system): 00001108-0000-1000-8000-00805f9b34fb 
4360
D/BluetoothService(   92):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 10
D/BluetoothService(   92): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 10
V/BluetoothEventRedirector(  293): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 9937): Sent notification over Bluetooth (0 retries).
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
V/BluetoothEventRedirector(  293): Received android.bleutooth.device.action.UUID
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()true
I/BluetoothHeadsetService(  195): waitForConnect(): return result = -9
D/BluetoothHeadsetService(  195): RFCOMM connection attempt took 6512 ms
W/BluetoothHeadsetService(  195): headset.waitForAsyncConnect() error: -9
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6104/hci0/dev_00_21_86_3C_BD_FA
D/BluetoothHeadsetService(  195): Rfcomm error
D/BluetoothHeadsetService(  195): Headset state 1 -> 0, result = 0
I/BluetoothHeadsetService(  195): Paired HS list have more than one item, but 
don't do next reconnection
V/BluetoothEventRedirector(  293): Received 
android.bluetooth.headset.action.STATE_CHANGED
I/BluetoothEventRedirector(  293): Failed to connect BT headset
D/BluetoothHandsfree(  195): updatePhoneState()
E/BluetoothHandsfree(  195): onCallDisconnected()
D/BluetoothHandsfree(  195): audioOff(): mPendingSco: false, mScoSocket: , 
mA2dpState: 0, mA2dpSuspended: false
D/PhoneUtils(  195): setAudioMode(MODE_NORMAL)...
D/PhoneUtils(  195): setAudioMode(MODE_NORMAL)...
D/NotificationFlashLightUtility getIncomingCall(  195): load fail~~~~~~~~~~
D/BluetoothHandsfree(  195): updatePhoneState()
E/PhoneApp(  195): mStatusBarDisableCount is already zero
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
I/BluetoothA2dpService(   92): RESUME_PHONE_STATE
I/BluetoothHandsfree(  195): ring(): mIgnoreRing = false 
mRingingCall.isRinging()false
E/BluetoothHandsfree(  195): Not allow to sent RING, ignore it
D/WifiService(   92): ACTION_SCREEN_OFF
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState

What version of Android are you using?
2.2

Original issue reported on code.google.com by nt.sel...@gmail.com on 27 Apr 2011 at 3:44