Loading services/core/java/com/android/server/wm/ActivityRecord.java +7 −1 Original line number Diff line number Diff line Loading @@ -1520,7 +1520,13 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A hasBeenLaunched = false; mStackSupervisor = supervisor; taskAffinity = aInfo.taskAffinity; // b/35954083: Limit task affinity to uid to avoid various issues associated with sharing // affinity across uids. final String uid = Integer.toString(info.applicationInfo.uid); if (info.taskAffinity != null && !info.taskAffinity.startsWith(uid)) { info.taskAffinity = uid + ":" + info.taskAffinity; } taskAffinity = info.taskAffinity; stateNotNeeded = (aInfo.flags & FLAG_STATE_NOT_NEEDED) != 0; nonLocalizedLabel = aInfo.nonLocalizedLabel; labelRes = aInfo.labelRes; Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +7 −1 Original line number Diff line number Diff line Loading @@ -1520,7 +1520,13 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A hasBeenLaunched = false; mStackSupervisor = supervisor; taskAffinity = aInfo.taskAffinity; // b/35954083: Limit task affinity to uid to avoid various issues associated with sharing // affinity across uids. final String uid = Integer.toString(info.applicationInfo.uid); if (info.taskAffinity != null && !info.taskAffinity.startsWith(uid)) { info.taskAffinity = uid + ":" + info.taskAffinity; } taskAffinity = info.taskAffinity; stateNotNeeded = (aInfo.flags & FLAG_STATE_NOT_NEEDED) != 0; nonLocalizedLabel = aInfo.nonLocalizedLabel; labelRes = aInfo.labelRes; Loading