From 765fa9e27e93f298c4aafe4cb59ba5bbf1153c38 Mon Sep 17 00:00:00 2001 From: Paul Westbrook Date: Mon, 15 Jul 2013 12:03:25 -0700 Subject: [PATCH] Remove STOPSHIP logging Bug: 8132946 Change-Id: I1f14a75c4dd334c4ae04cb0d79409cd072f2be08 --- src/com/android/email/provider/EmailProvider.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index c9cecb416..dbaea755f 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -1279,15 +1279,12 @@ public class EmailProvider extends ContentProvider { // Say it's ok to commit toDatabase.setTransactionSuccessful(); } finally { - // STOPSHIP: Remove logging here and in at endTransaction() below - LogUtils.d(TAG, "ending toDatabase transaction; copyCount = " + copyCount); toDatabase.endTransaction(); } } catch (SQLiteException ex) { LogUtils.w(TAG, "Exception while copying account tables", ex); copyCount = -1; } finally { - LogUtils.d(TAG, "ending fromDatabase transaction; copyCount = " + copyCount); fromDatabase.endTransaction(); } return copyCount; @@ -2504,9 +2501,9 @@ public class EmailProvider extends ContentProvider { return 0; } capabilities = service.getCapabilities(acct); - // STOPSHIP - LogUtils.d(TAG, "getCapabilities() for " + acct.mDisplayName + ": 0x" + - Integer.toHexString(capabilities) + getBits(capabilities)); + LogUtils.d(TAG, "getCapabilities() for %s: 0x%x %s", + LogUtils.sanitizeAccountName(acct.mDisplayName), + capabilities, getBits(capabilities)); } catch (RemoteException e) { // Nothing to do LogUtils.w(TAG, "getCapabilities() for " + acct.mDisplayName + ": RemoteException");