diff options
author | Nick Chalko <nchalko@google.com> | 2015-12-09 13:48:17 -0800 |
---|---|---|
committer | Nick Chalko <nchalko@google.com> | 2015-12-11 15:09:19 -0800 |
commit | 1abddd9f6225298066094e20a6c29061b6af4590 (patch) | |
tree | 97d701f8681cca9939c86e5e61523775d4c13aea /tests/common/src/com/android/tv/testing/ProgramUtils.java | |
parent | 7d67089aa1e9aa2123c3cd2f386d7019a1544db1 (diff) | |
download | TV-1abddd9f6225298066094e20a6c29061b6af4590.tar.gz |
Sync to ub-tv-heroes at 1.08.301
source change id If9b64d7bbc6e8f77b360e502d34e5452775c0402
Change-Id: I4ffe87911cb85e54880d1d918d1b8fb7bb8cfb7d
Diffstat (limited to 'tests/common/src/com/android/tv/testing/ProgramUtils.java')
-rw-r--r-- | tests/common/src/com/android/tv/testing/ProgramUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/common/src/com/android/tv/testing/ProgramUtils.java b/tests/common/src/com/android/tv/testing/ProgramUtils.java index 92fe9c82..493891b6 100644 --- a/tests/common/src/com/android/tv/testing/ProgramUtils.java +++ b/tests/common/src/com/android/tv/testing/ProgramUtils.java @@ -30,6 +30,7 @@ import java.util.concurrent.TimeUnit; public class ProgramUtils { private static final String TAG = "ProgramUtils"; + private static final boolean DEBUG = false; // Populate program data for a week. private static final long PROGRAM_INSERT_DURATION_MS = TimeUnit.DAYS.toMillis(7); @@ -77,7 +78,7 @@ public class ProgramUtils { || timeMs >= targetEndTimeMs) { context.getContentResolver().bulkInsert(Programs.CONTENT_URI, list.toArray(new ContentValues[list.size()])); - Log.v(TAG, "Inserted " + list.size() + " programs for " + channelUri); + if (DEBUG) Log.d(TAG, "Inserted " + list.size() + " programs for " + channelUri); list.clear(); } } |