Merge "Dropbox: remove redundant Entry construction." into gingerbread

This commit is contained in:
Brad Fitzpatrick
2010-06-14 09:32:26 -07:00
committed by Android (Google) Code Review

View File

@@ -242,7 +242,7 @@ public class DropBoxManager {
if (file == null) throw new NullPointerException();
Entry entry = new Entry(tag, 0, file, flags);
try {
mService.add(new Entry(tag, 0, file, flags));
mService.add(entry);
} catch (RemoteException e) {
// ignore
} finally {