Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4caac2bb authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7140 into donut

* changes:
  Add more logging to track down a monkey bug
parents 83a066c6 f748f22f
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ import java.util.regex.Pattern;
 */
public final class Telephony {
    private static final String TAG = "Telephony";
    private static final boolean DEBUG = false;
    private static final boolean DEBUG = true;
    private static final boolean LOCAL_LOGV = DEBUG ? Config.LOGD : Config.LOGV;

    // Constructor
@@ -1136,8 +1136,14 @@ public final class Telephony {
            }

            Uri uri = uriBuilder.build();
            if (DEBUG) {
                Log.v(TAG, "getOrCreateThreadId uri: " + uri);
            }
            Cursor cursor = SqliteWrapper.query(context, context.getContentResolver(),
                    uri, ID_PROJECTION, null, null, null);
            if (DEBUG) {
                Log.v(TAG, "getOrCreateThreadId cursor cnt: " + cursor.getCount());
            }
            if (cursor != null) {
                try {
                    if (cursor.moveToFirst()) {