Associate service process with DreamActivity.

This change ties the DreamActivity to the DreamService's process,
instead of the application process.

Bug: 215744456
Test: atest DreamServiceTest
Change-Id: I4314cc241785f4762636d4717c34911b16afd141
This commit is contained in:
Bryce Lee
2022-02-07 16:43:32 -08:00
parent 79718744d4
commit 476ffa5958

View File

@@ -1436,7 +1436,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
a.packageName = process.mInfo.packageName;
a.applicationInfo = process.mInfo;
a.processName = process.mInfo.processName;
a.processName = process.mName;
a.uiOptions = process.mInfo.uiOptions;
a.taskAffinity = "android:" + a.packageName + "/dream";