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

Commit 626c0415 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Use the utility logging methods and single tag

See Change-Id: I5bfc66562a4a0630d520390ae886bd19de3327cb

Change-Id: I569e0a746c4430f9d0cd1cb20bbc9aa50b81bcfc
parent 6ab18858
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class AudioRecord
     */
    private static final int NATIVE_EVENT_NEW_POS = 3;

    private final static String TAG = "AudioRecord-Java";
    private final static String TAG = "android.media.AudioRecord";


    //---------------------------------------------------------
@@ -779,8 +779,7 @@ public class AudioRecord
                }
                break;
            default:
                Log.e(TAG, "[ android.media.AudioRecord.NativeEventHandler ] " +
                        "Unknown event type: " + msg.what);
                loge("Unknown native event type: " + msg.what);
                break;
            }
        }
@@ -847,11 +846,11 @@ public class AudioRecord
    //------------------

    private static void logd(String msg) {
        Log.d(TAG, "[ android.media.AudioRecord ] " + msg);
        Log.d(TAG, msg);
    }

    private static void loge(String msg) {
        Log.e(TAG, "[ android.media.AudioRecord ] " + msg);
        Log.e(TAG, msg);
    }

}