commit | 885fbe5c070cf1579c96ab8e150449af00e16501 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Sat Aug 23 15:23:58 2014 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Sat Aug 23 15:23:58 2014 -0700 |
tree | 2016ceb0a698dcb9d5498031210729828baf57b3 | |
parent | 491cb3f578a23555c807e68f8a536a892959a73f [diff] [blame] |
Fix issue #16366571: UIDs for work and normal Chrome processes are the same Use uid as main key for determining which app tasks a caller has access to. Change-Id: Ibbe3f0f64197671d279c3fc519edfc720d442938
diff --git a/services/core/java/com/android/server/am/ActivityStack.java b/services/core/java/com/android/server/am/ActivityStack.java index 5ad84d4..e6edff8e 100755 --- a/services/core/java/com/android/server/am/ActivityStack.java +++ b/services/core/java/com/android/server/am/ActivityStack.java
@@ -3763,7 +3763,7 @@ if (activities.isEmpty()) { continue; } - if (!allowed && !task.isHomeTask() && task.creatorUid != callingUid) { + if (!allowed && !task.isHomeTask() && task.effectiveUid != callingUid) { continue; } for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) {