Merge "Restore return statement erroneously deleted earlier"

This commit is contained in:
Marc Blank 2011-08-24 17:26:59 -07:00 committed by Android (Google) Code Review
commit d80e7565dd

View File

@ -64,6 +64,8 @@ public class Device {
if (!f.delete()) { if (!f.delete()) {
Log.e(Logging.LOG_TAG, "Can't delete null deviceName file; try overwrite."); Log.e(Logging.LOG_TAG, "Can't delete null deviceName file; try overwrite.");
} }
} else {
return id;
} }
} else { } else {
Log.w(Logging.LOG_TAG, f.getAbsolutePath() + ": File exists, but can't read?" + Log.w(Logging.LOG_TAG, f.getAbsolutePath() + ": File exists, but can't read?" +