commit | 74d5f56ed89713b01862810767ce051900076142 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Thu Jul 28 18:10:53 2016 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Fri Jul 29 10:54:12 2016 -0700 |
tree | efe7a278868fb18cd35b5131f92f1de9dd5600bb | |
parent | 8e1f716acc0f768ef92586ad617731564987c74b [diff] |
Fix demo launcher - pinShortcuts() needs to be passed all pinned shortcut IDs from the target app, but originally it was passing those from the target *activity*. - Also LauncherApps throws IllegalStateException when work profile is off. Catch runtime exceptions and show a message. Change-Id: I5a97c808ed7d9aff17bd11aa4ed28ee0efc330f0