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

Commit d8ff71bd authored by Santos Cordon's avatar Santos Cordon Committed by Android Git Automerger
Browse files

am 0a5eb3ec: am acd840d5: Merge "Obfuscate any phone numbers that pass through...

am 0a5eb3ec: am acd840d5: Merge "Obfuscate any phone numbers that pass through the event log." into jb-mr2-dev

* commit '0a5eb3ec':
  Obfuscate any phone numbers that pass through the event log.
parents a934b7c9 0a5eb3ec
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ import android.content.res.Configuration;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.net.Uri;
import android.os.Binder;
import android.os.Bundle;
import android.os.Handler;
@@ -3495,11 +3496,13 @@ final class ActivityStack {

    static final void logStartActivity(int tag, ActivityRecord r,
            TaskRecord task) {
        final Uri data = r.intent.getData();
        final String strData = data != null ? data.toSafeString() : null;

        EventLog.writeEvent(tag,
                r.userId, System.identityHashCode(r), task.taskId,
                r.shortComponentName, r.intent.getAction(),
                r.intent.getType(), r.intent.getDataString(),
                r.intent.getFlags());
                r.intent.getType(), strData, r.intent.getFlags());
    }

    /**