Avoid inserting duplicated entries after creating a directory.
New entries which are passed to DirectoryContents.onNewEntries_ are determined in DorectoryContents.update, but before they are inserted in the file list, the file list may change. When creating a new directory in Drive, this sometimes occurs. This CL adds duplication check just before inserting entries. BUG=423646 TEST=creating a directory in MyDrive By Ctrl-E and check if there's no duplicated folder. Review URL: https://codereview.chromium.org/676293002 Cr-Commit-Position: refs/heads/master@{#301335}
Showing
Please register or sign in to comment