OSDN Git Service

Removing workspaceLoaded check from loadDeepShortcuts()
authorSunny Goyal <sunnygoyal@google.com>
Wed, 17 May 2017 19:05:46 +0000 (12:05 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Wed, 17 May 2017 19:07:39 +0000 (12:07 -0700)
commit4869bf3f74d4dd97b81b3aed2f2f47bf9226681b
tree59ab1e96e7ac11f7e349d8b1147d87ef3f8f5ab6
parent02aced978285c8a78eb98ee22130cf43017a4fa6
Removing workspaceLoaded check from loadDeepShortcuts()

loadDeepShortcuts() is called after loadWorkspace() which already
clears the shortcutMap. So if loader runs twice, during the second run,
workspaceLoaded is true, but the shortcutMap had already been cleared
in loadWorkspace().

Bug: 38384071
Change-Id: I40f0faf88376617e56819aef02620488e528dfb2
src/com/android/launcher3/LauncherModel.java