OSDN Git Service

Add status to DeepShortcutManager api calls.
authorTony Wickham <twickham@google.com>
Fri, 1 Jul 2016 22:44:13 +0000 (15:44 -0700)
committerTony Wickham <twickham@google.com>
Wed, 13 Jul 2016 19:02:33 +0000 (12:02 -0700)
commitd82a39da1c61b19d2749725f9c70c3baf2dab6bf
tree5b3d3a7e97e03617af0c5a1fb773f0050817a180
parentf420438a0b04205d18270923a01a5bd3bc464da8
Add status to DeepShortcutManager api calls.

This way we can handle SecurityExceptions differently. For instance,
if a SecurityException causes us to fail to get details for pinned
shortcuts, we keep the pinned shortcuts in the database so that they
will be loaded next time launcher has the correct permissions.

Change-Id: I1102fce612ade10ad7f577b44a99c8cf087d5ccd
src/com/android/launcher3/LauncherModel.java
src/com/android/launcher3/shortcuts/DeepShortcutManager.java