adolfintel / OpenPods

The Free and Open Source app for monitoring your AirPods on Android
https://fdossena.com/?p=openPods/index.frag
GNU General Public License v3.0
970 stars 164 forks source link

App Crash after location toggle #47

Closed Domi04151309 closed 4 years ago

Domi04151309 commented 4 years ago

Description

The app crashes when the location is turned on after being turned off for a long time.

Log

FATAL EXCEPTION: Thread-3
Process: com.dosse.airpods, PID: 19638
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3312968 bytes
    at android.app.NotificationManager.notifyAsUser(NotificationManager.java:503)
    at android.app.NotificationManager.notify(NotificationManager.java:450)
    at android.app.NotificationManager.notify(NotificationManager.java:426)
    at com.dosse.airpods.PodsService$NotificationThread.run(PodsService.java:332)
Caused by: android.os.TransactionTooLargeException: data parcel size 3312968 bytes
    at android.os.BinderProxy.transactNative(Native Method)
    at android.os.BinderProxy.transact(BinderProxy.java:547)
    at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:2962)
    at android.app.NotificationManager.notifyAsUser(NotificationManager.java:500)
    ... 3 more
Domi04151309 commented 4 years ago

PodsService.java:332

adolfintel commented 4 years ago

I can't replicate this on my phone. How long does it take? And what can you tell me about your device?

Domi04151309 commented 4 years ago

My device is a OnePlus 6T running Android 10. It happens from time to time but I cannot reproduce it on purpose and I am unable to provide further information about it. It seemed to happen randomly after connecting the AirPods, turning on the location, turning off the location, watching YouTube for about half an hour and then turning on the location again. Everything works fine after restarting the app but the "location disabled" notification stays until the app is restarted.

adolfintel commented 4 years ago

Let me know if it happens again