Minor Refactoring only: no functional change

- organizing imports
- remove redundant modifiers on LauncherCallback interface
- fix typos

Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
This commit is contained in:
Mario Bertschler
2017-03-28 12:23:22 -07:00
parent bea3a6ba7e
commit c06af333cb
50 changed files with 68 additions and 123 deletions

View File

@@ -179,7 +179,7 @@ public class AddWorkspaceItemsTask extends ExtendedModelTask {
// checking for existing promise icon with same package name
if (isLauncherAppTarget
&& info.isPromise()
&& info.hasStatusFlag(ShortcutInfo.FLAG_AUTOINTALL_ICON)
&& info.hasStatusFlag(ShortcutInfo.FLAG_AUTOINSTALL_ICON)
&& info.getTargetComponent() != null
&& compPkgName != null
&& compPkgName.equals(info.getTargetComponent().getPackageName())) {