Start apps by ID to work correctly with duplicate app names

This commit is contained in:
Cameron Gutman
2015-02-27 13:42:40 -05:00
parent e081ab5239
commit d091d9db6b
3 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -432,7 +432,8 @@ public class AppView extends Activity implements AdapterFragmentCallbacks {
intent.putExtra(Game.EXTRA_HOST,
computer.reachability == ComputerDetails.Reachability.LOCAL ?
computer.localIp.getHostAddress() : computer.remoteIp.getHostAddress());
intent.putExtra(Game.EXTRA_APP, app.getAppName());
intent.putExtra(Game.EXTRA_APP_NAME, app.getAppName());
intent.putExtra(Game.EXTRA_APP_ID, app.getAppId());
intent.putExtra(Game.EXTRA_UNIQUEID, managerBinder.getUniqueId());
intent.putExtra(Game.EXTRA_STREAMING_REMOTE,
computer.reachability != ComputerDetails.Reachability.LOCAL);