My device has a problem. When I try to skip songs in the app it works, if I go home and try it, it crashes; volume and song skip doesn't work neither from the steering wheel nor the face buttons. It cuts the music comes back and I can again use the controls (but not song skip). I found some crash logs that generate when this happens. And I found a .txt file named CanId and it is empty.
Here is the log:
versionName=1.0
versionCode=2002131246
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
at app.ToolkitApp.mediaKey(ToolkitApp.java:311)
at app.ToolkitApp.mediaKey(ToolkitApp.java:302)
at app.ToolkitApp.mediaNext(ToolkitApp.java:192)
at module.main.HandlerMain.mcuKeyDown(HandlerMain.java:3922)
at module.canbus.analysis.HandlerAnalysis.canbusKeyDown(HandlerAnalysis.java:3151)
at module.canbus.analysis.HandlerAnalysis.keyEvent(HandlerAnalysis.java:2858)
at module.canbus.CAR_0424_XP_KeLeiAo.onHandle(CAR_0424_XP_KeLeiAo.java:148)
at module.canbus.analysis.CanbusTypeXP1.onReceive(CanbusTypeXP1.java:102)
at dev.ReceiverMcu.onHandle(ReceiverMcu.java:1119)
at dev.ReceiverMcu.onReceive(ReceiverMcu.java:216)
at util.SerialThread.run(SerialThread.java:76)
I wonder if this is the reason.