commit | 87958f118eb55d11bf9fb884653843af5ea28054 | [log] [tgz] |
---|---|---|
author | Andrey Loskutov <loskutov@gmx.de> | Mon Sep 05 23:05:47 2016 +0200 |
committer | Sergey Prigogin <eclipse.sprigogin@gmail.com> | Mon Oct 17 13:30:18 2016 -0400 |
tree | 6fd3a6a9712f88fe6de22b29000c4ae5806fb522 | |
parent | a52bf7c75d0ab93a65da9bf684ca0dfb61665245 [diff] |
Bug 500306 - Read-only files, and projects containing them, cannot be deleted If the LocalFile.delete() fails with AccessDeniedException, retry the operation via old API which doesn't care about read-only flags. This makes the LocalFile.delete() behavior more predictable across different platforms. Change-Id: I33b010469c4e3d6906d1aa2a66e51bf4e53f9f30 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> (cherry picked from commit e56853d1b0dc0cf6cfa0d4c6cef552ab46093b2a)