From 185fd5b3b8251858f0cfad0c180eefebcb38b801 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 24 Aug 2011 17:10:46 -0700 Subject: [PATCH] Restore return statement erroneously deleted earlier * Screwed up in I1f6e31bfd2e7c32bdd7886e54b02fd4640a96e6f Bug: 5205488 Bug: 5203883 Change-Id: I619135bd5dd8359b4b0573316482356a9b517865 --- emailcommon/src/com/android/emailcommon/Device.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emailcommon/src/com/android/emailcommon/Device.java b/emailcommon/src/com/android/emailcommon/Device.java index 889139acc..ba93062ee 100644 --- a/emailcommon/src/com/android/emailcommon/Device.java +++ b/emailcommon/src/com/android/emailcommon/Device.java @@ -64,6 +64,8 @@ public class Device { if (!f.delete()) { Log.e(Logging.LOG_TAG, "Can't delete null deviceName file; try overwrite."); } + } else { + return id; } } else { Log.w(Logging.LOG_TAG, f.getAbsolutePath() + ": File exists, but can't read?" +