Add null check for uri
If the target process is killed, ContentResolver would receive a remote exception and would return a null uri for the insert call. Handling the null check in the DownloadManager to return -1 as the id in this case. Bug: 199336863 Change-Id: I176f48317fcfc72f06e27f24dc3aa8180651ce39
Loading
Please register or sign in to comment