diff options
| author | David Brown <dab@google.com> | 2010-10-11 21:01:49 -0700 |
|---|---|---|
| committer | David Brown <dab@google.com> | 2010-10-13 17:02:33 -0700 |
| commit | d34d30ac2e5d7fc0ee0592187492acd3d52a2545 (patch) | |
| tree | b9045dcd1cbccc822f0d14e581278bde9fbb6235 /telephony/java | |
| parent | 361a6ad16dedfed871c76e8fa64eb45aa82a0088 (diff) | |
| download | frameworks_base-d34d30ac2e5d7fc0ee0592187492acd3d52a2545.zip frameworks_base-d34d30ac2e5d7fc0ee0592187492acd3d52a2545.tar.gz frameworks_base-d34d30ac2e5d7fc0ee0592187492acd3d52a2545.tar.bz2 | |
Reduce CallerInfoAsyncQuery logging in user builds (STOPSHIP cleanup)
Bug: 3095005
Change-Id: Ide96756282d17252fac16a27cc184ea314a8b31a
Diffstat (limited to 'telephony/java')
| -rw-r--r-- | telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java b/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java index 3419567..46ef118 100644 --- a/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java +++ b/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java @@ -24,6 +24,7 @@ import android.net.Uri; import android.os.Handler; import android.os.Looper; import android.os.Message; +import android.os.SystemProperties; import android.provider.ContactsContract.CommonDataKinds.SipAddress; import android.provider.ContactsContract.Data; import android.provider.ContactsContract.PhoneLookup; @@ -36,8 +37,7 @@ import android.util.Log; */ public class CallerInfoAsyncQuery { - - private static final boolean DBG = true; // STOPSHIP: disable debugging before ship + private static final boolean DBG = (SystemProperties.getInt("ro.debuggable", 0) == 1); private static final String LOG_TAG = "CallerInfoAsyncQuery"; private static final int EVENT_NEW_QUERY = 1; |
