Permalink
Browse files

Adding in field mappings for start, foreground and background methods.

  • Loading branch information...
1 parent 74ae525 commit 1b3385885b82d9d09f6d84e7bac47ad268b7da32 Tim Windsor committed Apr 17, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Smartphone/Analytics/webworks/analytics/AnalyticsNamespace.java
View
6 Smartphone/Analytics/webworks/analytics/AnalyticsNamespace.java
@@ -73,6 +73,12 @@ public Object getField(String name) throws Exception {
return new Terminate();
} else if (name.equals(FIELD_ERROR)) {
return new Error();
+ } else if (name.equals(FIELD_FOREGROUND)) {
+ return new Foreground();
+ } else if (name.equals(FIELD_BACKGROUND)) {
+ return new Background();
+ } else if (name.equals(FIELD_START)) {
+ return new Start();
}
return super.getField(name);
}

0 comments on commit 1b33858

Please sign in to comment.