Re: [Ring] Android 4.4.2 Crash On Message Reception (Notification)

2018-02-05 Thread Nathan Royce
The android update I installed today/yesterday is working with no
problems so far... AND... wait for it... from trying various bootstrap
tests I've posted about before (ring/ring;ring/local;local/local),
messages are both sending AND receiving at both linux and android!
MAJOR DEAL! I hope it's not a fluke.

The only thing is with gnome client in KDE, X still won't
close/minimize the window, but I believe I already posted about that.
I have to use Quit from the system tray icon context menu.

Arch Linux opendht: 1:1.5.0-2 (waiting for 1.6, but am aware of the
issues that were posted here recently)
daemon: 9179735a649cc0167e1312625d17f8d08a0c2587
lrc: 1f7b84cd7b8cb71fd2d5eb525e3130807b6842fa
gnome client: a8804820558189ceac7fda85223001ef6e7a5237



[Ring] Android 4.4.2 Crash On Message Reception (Notification)

2018-01-16 Thread Nathan Royce
Fix one issue, and another lies beneath...
When I send a message to my android device:
*
W/BrunchUsedCodecImpl( 4376): [isUsedCodec] Used codec! = audio/vorbis
V/MediaPlayer[Native](16140): message received msg=8, ext1=0, ext2=0
V/MediaPlayer[Native](16140): notify(8, 0, 0) callback on disconnected
mediaplayer
E/NotificationService( 5203): unable to notify listener (removed):
android.service.notification.INotificationListener$Stub$Proxy@426a2188
E/NotificationService( 5203): android.os.DeadObjectException
E/NotificationService( 5203): at android.os.BinderProxy.transact(Native Method)
E/NotificationService( 5203): at
android.service.notification.INotificationListener$Stub$Proxy.onNotificationRemoved(INotificationListener.java:120)
E/NotificationService( 5203): at
com.android.server.NotificationManagerService$NotificationListenerInfo.notifyRemovedIfUserMatch(NotificationManagerService.java:278)
E/NotificationService( 5203): at
com.android.server.NotificationManagerService$3.run(NotificationManagerService.java:859)
E/NotificationService( 5203): at
android.os.Handler.handleCallback(Handler.java:733)
E/NotificationService( 5203): at
android.os.Handler.dispatchMessage(Handler.java:95)
E/NotificationService( 5203): at android.os.Looper.loop(Looper.java:136)
E/NotificationService( 5203): at
com.android.server.ServerThread.initAndLoop(SystemServer.java:1380)
E/NotificationService( 5203): at
com.android.server.SystemServer.main(SystemServer.java:1484)
E/NotificationService( 5203): at
java.lang.reflect.Method.invokeNative(Native Method)
E/NotificationService( 5203): at
java.lang.reflect.Method.invoke(Method.java:515)
E/NotificationService( 5203): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E/NotificationService( 5203): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
E/NotificationService( 5203): at dalvik.system.NativeStart.main(Native Method)
D/NotificationService( 5203): updateLightListLocked
:r=NotificationRecord(0x4303d320: pkg=cx.ring user=UserHandle{0}
id=-943724268 tag=null score=10: Notification(pri=1
contentView=cx.ring/0x1090064 vibrate=default sound=default
defaults=0x flags=0x11 kind=[null] 1 action)), action=2
D/NotificationService( 5203): notification=Notification(pri=1
contentView=cx.ring/0x1090064 vibrate=default sound=default
defaults=0x flags=0x11 kind=[null] 1 action)
D/EmotionalLed( 9865): updateLightListInternal: action=2 pkg=cx.ring
D/AndroidRuntime( 8508): Shutting down VM
W/dalvikvm( 8508): threadid=1: thread exiting with uncaught exception
(group=0x419aae48)
E/cx.ring.application.RingApplication( 8508): Uncaught Exception
detected in thread
E/cx.ring.application.RingApplication( 8508):
android.app.RemoteServiceException: Bad notification posted from
package cx.ring: Couldn't create icon: StatusBarIcon(pkg=cx.ringuser=0
id=0x7f080097 level=0 visible=true num=0 )
E/cx.ring.application.RingApplication( 8508): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367)
E/cx.ring.application.RingApplication( 8508): at
android.os.Handler.dispatchMessage(Handler.java:102)
E/cx.ring.application.RingApplication( 8508): at
android.os.Looper.loop(Looper.java:136)
E/cx.ring.application.RingApplication( 8508): at
android.app.ActivityThread.main(ActivityThread.java:5103)
E/cx.ring.application.RingApplication( 8508): at
java.lang.reflect.Method.invokeNative(Native Method)
E/cx.ring.application.RingApplication( 8508): at
java.lang.reflect.Method.invoke(Method.java:515)
E/cx.ring.application.RingApplication( 8508): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E/cx.ring.application.RingApplication( 8508): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
E/cx.ring.application.RingApplication( 8508): at
dalvik.system.NativeStart.main(Native Method)
I/Process ( 8508): Sending signal. PID: 8508 SIG: 9
V/AwesomePlayer( 4376): track of type 'audio/vorbis' does not publish bitrate
*