commit | 2a21dd13be99be7c939b2c45b08656477055c562 | [log] [tgz] |
---|---|---|
author | Dipankar Bhardwaj <dipankarb@google.com> | Tue Nov 28 10:20:48 2023 +0000 |
committer | Dipankar Bhardwaj <dipankarb@google.com> | Wed Nov 29 08:30:32 2023 +0000 |
tree | 28158b7df4c3385586e27de780ddeb38399f0a4f | |
parent | 3b565b4e90dfa01ccde2c604121dbdc32da24603 [diff] |
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