commit | f788bbb0c43dfecdf46d0dda2f74c1131bd549ff | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Nov 04 14:19:17 2019 -0800 |
committer | Jon Miranda <jonmiranda@google.com> | Mon Nov 04 14:19:17 2019 -0800 |
tree | 875701bb4de59ef8478a66190f0fc739cfc1858e | |
parent | d942b4208d258d7b80c557e2f82d9be1b81c7836 [diff] |
Add additional shortcutExists check to prevent same app from being auto added. Since we made the change to treat all auto added workspace items as promise icons, the initial shortcutExists check breaks since its comparing the promise intent to the actual app intent. This additional shortcutExists check can compare the proper intents. Bug: 143803446 Change-Id: Ifa27b15205d6e17f83a4437ac175d51815688c84