OSDN Git Service

Fix improper exception handling during copy operation.
authorMatt Garnes <matt@cyngn.com>
Thu, 13 Aug 2015 15:14:52 +0000 (08:14 -0700)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Thu, 13 Aug 2015 16:54:04 +0000 (09:54 -0700)
commit2444ef323fc5920588f45c96a36533a969ab6be2
tree30560426cbb4ccd6d0cda8ac73cd2c5fb58f8c60
parent21560d809d52fbba94d55b1e6b8eb091c885b9fa
Fix improper exception handling during copy operation.

- Do not cast ClosedByInterruptException to CancelledOperationException;
  return a new CancelledOperationException instead.

Change-Id: I41cb0c605c55fc896a3e483cb5b1f1fcc913676e
src/com/cyanogenmod/filemanager/util/FileHelper.java