Catch NPE in AttachmentDownloadService
%$!@#*&% Bug: 5055519 Change-Id: Ie155c8d0f9931b51613f7d77e4545531bc148964
This commit is contained in:
parent
786285b3a6
commit
41c63a05eb
@ -427,7 +427,7 @@ public class AttachmentDownloadService extends Service implements Runnable {
|
||||
}
|
||||
}
|
||||
// Check whether we can start new downloads...
|
||||
if (mConnectivityManager.hasConnectivity()) {
|
||||
if (mConnectivityManager != null && mConnectivityManager.hasConnectivity()) {
|
||||
processQueue();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user