Closed codewithrish closed 4 years ago
its basically crashing give null pointer exception. I had to modify this snippet
public static void forceStopIfNecessary() { if (downloadThread.isAlive()) { stop = true; } }
to
public static void forceStopIfNecessary() { if (downloadThread != null && downloadThread.isAlive()) { stop = true; } }
and now its working but making continuous sound on both emulater and physical device
Device (Moto G4 Plus : Android Version 8.1)
First of all, I am very sorry for the crash. I was not able to thoroughly test a previous fix. I made the app last year, and I did not write any unit tests. Which is why I would not know if I'm breaking things.
For the sound, I discovered it was coming from the downloadNotifier. It updates the notification progress every second, hence the continuous sound. The sound should be disabled by setting the notification's importance to low. Fix will be coming.
Fixed. Check new release.
Great It's working fine now. Thanks
Did you use it on the emulator or on the real device? If real device, what device and what version? I had this same experience in the emulator.