Add the app name to the shortcut trampoline

This commit is contained in:
Cameron Gutman
2019-07-16 22:32:37 -07:00
parent d54fdc9f5f
commit e27129fc48
4 changed files with 11 additions and 6 deletions

View File

@@ -153,6 +153,7 @@ public class ShortcutHelper {
i.putExtra(AppView.NAME_EXTRA, computer.name);
i.putExtra(AppView.UUID_EXTRA, computer.uuid);
i.putExtra(ShortcutTrampoline.APP_NAME_EXTRA, app.getAppName());
i.putExtra(ShortcutTrampoline.APP_ID_EXTRA, ""+app.getAppId());
i.setAction(Intent.ACTION_DEFAULT);

View File

@@ -130,6 +130,7 @@ public class TvChannelHelper {
i.putExtra(AppView.NAME_EXTRA, computer.name);
i.putExtra(AppView.UUID_EXTRA, computer.uuid);
i.putExtra(ShortcutTrampoline.APP_NAME_EXTRA, app.getAppName());
i.putExtra(ShortcutTrampoline.APP_ID_EXTRA, ""+app.getAppId());
i.setAction(Intent.ACTION_DEFAULT);