Add tag to sandbox crashes
This tag in ActivityManager is required to get the sandbox crash stack traces, which will be read by GMSCore and sent to clearcut without any user or device identification. Bug: 221878062 Test: manual, by causing SdkSandbox Test App (go/sdk-sandbox-manual-testing) crash and logging the resulting DropBox header. Change-Id: I0f3a771f02027170952ec03d1ef9b4a323c67fa0
This commit is contained in:
@@ -79,6 +79,7 @@ import static android.os.Process.ZYGOTE_POLICY_FLAG_LATENCY_SENSITIVE;
|
||||
import static android.os.Process.ZYGOTE_POLICY_FLAG_SYSTEM_PROCESS;
|
||||
import static android.os.Process.ZYGOTE_PROCESS;
|
||||
import static android.os.Process.getTotalMemory;
|
||||
import static android.os.Process.isSdkSandboxUid;
|
||||
import static android.os.Process.isThreadInProcess;
|
||||
import static android.os.Process.killProcess;
|
||||
import static android.os.Process.killProcessQuiet;
|
||||
@@ -8561,6 +8562,9 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
if (process.info.isInstantApp()) {
|
||||
sb.append("Instant-App: true\n");
|
||||
}
|
||||
if (isSdkSandboxUid(process.uid)) {
|
||||
sb.append("SdkSandbox: true\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user