commit | dff0bfeb901e767ca9b57f9b8051c7fd077626e9 | [log] [tgz] |
---|---|---|
author | Nilesh Agrawal <nileshagrawal@google.com> | Tue Dec 17 15:20:50 2013 -0800 |
committer | Nilesh Agrawal <nileshagrawal@google.com> | Tue Dec 17 15:26:00 2013 -0800 |
tree | 88c22b901143b2ef8ab003da906b308e343162eb | |
parent | f6a22ada816ae4f63576679f03472b0a984e82be [diff] |
Do not allow duplicate shortcuts when ALL_APPS is disabled. When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest. We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER. Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent. Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b