Display the app name instead of "starting app"

This commit is contained in:
Cameron Gutman 2014-11-06 20:48:08 -08:00
parent 1df03e137b
commit 2cc2d05c2f
2 changed files with 9 additions and 0 deletions

View File

@ -226,6 +226,11 @@ public class NvConnection {
{
boolean success = false;
if (currentStage == NvConnectionListener.Stage.LAUNCH_APP) {
// Display the app name instead of the stage name
currentStage.setName(config.getApp());
}
listener.stageStarting(currentStage);
try {
switch (currentStage)

View File

@ -15,6 +15,10 @@ public interface NvConnectionListener {
this.name = name;
}
void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}