Various managed profile fixes
> When matching existing shortcut, match the uri as intent doesn't implement equals > Fixing user matching when searching for apps in all-apps Bug: 20749743 Change-Id: I14f3e2134e774727176e865d74108ef79de874d6
This commit is contained in:
1 parent
111c83579a
commit
dfde999ccd
2 files changed
+13
-11
No files matched your search
@@ -254,7 +254,7 @@ public class AlphabeticalAppsList {
|
||||
int length = apps.size();
|
||||
for (int i = 0; i < length; ++i) {
|
||||
AppInfo info = apps.get(i);
|
||||
if (info.user.equals(info.user)
|
||||
if (info.user.equals(targetInfo.user)
|
||||
&& info.intent.getComponent().equals(targetComponent)) {
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user