public void obtainShortcut(ShortcutHandler handler) { if (handler == null) return; mShortcutHandler = handler; startActivityForResult(mShortcutHandler.getCreateShortcutIntent(), 1028); }