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; 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); listener.stageStarting(currentStage);
try { try {
switch (currentStage) switch (currentStage)

View File

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