mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-22 16:01:37 -04:00
See the following crash reported via ACRA: java.lang.NullPointerException at org.fdroid.fdroid.net.DownloaderService.getNotificationTitle(DownloaderService.java:188) at org.fdroid.fdroid.net.DownloaderService.createNotification(DownloaderService.java:167) at org.fdroid.fdroid.net.DownloaderService.handleIntent(DownloaderService.java:274) at org.fdroid.fdroid.net.DownloaderService$ServiceHandler.handleMessage(DownloaderService.java:107) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.os.HandlerThread.run(HandlerThread.java:61) I'm not sure what the source of the null App was (could be that we couldn't access the DB for some reason, or perhaps that somehow the app wasn't in it anymore). In any case, it doesn't hurt to double check here. If the app is null, simply fall back to the title without the app name.