Upate logging to use LogUtil
This CL replaces all calls to Log.* with calls to LogUtil.*.
Bug: 13172967
Change-Id: I649e2c4f74f9d74d046eddc777e192a066882520
diff --git a/src/com/android/telecomm/ThreadUtil.java b/src/com/android/telecomm/ThreadUtil.java
index b826f58..3d5a498 100644
--- a/src/com/android/telecomm/ThreadUtil.java
+++ b/src/com/android/telecomm/ThreadUtil.java
@@ -17,7 +17,6 @@
package com.android.telecomm;
import android.os.Looper;
-import android.util.Log;
/**
* A utility class which helps organize callers' threads. This class cannot be instantiated; callers
@@ -39,7 +38,7 @@
*/
public static void checkOnMainThread() {
if (!isOnMainThread()) {
- Log.wtf(TAG, "Must be on the main thread!", new IllegalStateException());
+ Log.wtf(TAG, new IllegalStateException(), "Must be on the main thread!");
}
}
@@ -49,7 +48,7 @@
*/
public static void checkNotOnMainThread() {
if (isOnMainThread()) {
- Log.wtf(TAG, "Must not be on the main thread!", new IllegalStateException());
+ Log.wtf(TAG, new IllegalStateException(), "Must not be on the main thread!");
}
}
}