ComponentName null check MUST proceed before creating ComponentKey.
Change-Id: I2460561b62d77d3f2f17dc2a7db765785b46a8c6
This commit is contained in:
@@ -4170,6 +4170,10 @@ public class Launcher extends Activity
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
ComponentName component = info.getTargetComponent();
|
||||
if (component == null) {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
List<String> ids = mDeepShortcutMap.get(new ComponentKey(component, info.user));
|
||||
return ids == null ? Collections.EMPTY_LIST : ids;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user