Committed by
Gerrit Code Review
Init demo subscriber was not getting called
Change-Id: Idddc94829a1b36192feca17d319a1af379d3ac5c
Showing
1 changed file
with
2 additions
and
4 deletions
... | @@ -138,10 +138,8 @@ public class CordModelCache extends JsonFactory { | ... | @@ -138,10 +138,8 @@ public class CordModelCache extends JsonFactory { |
138 | subscriberId = lookupSubId(ssid); | 138 | subscriberId = lookupSubId(ssid); |
139 | XosManager.INSTANCE.setXosUtilsForSubscriber(subscriberId); | 139 | XosManager.INSTANCE.setXosUtilsForSubscriber(subscriberId); |
140 | 140 | ||
141 | - // if we are using the demo account, tell XOS to reset it... | 141 | + // call the initdemo API to ensure users are populated in XOS |
142 | - if (ssid == DEMO_SSID) { | 142 | + XosManager.INSTANCE.initDemoSubscriber(); |
143 | - XosManager.INSTANCE.initDemoSubscriber(); | ||
144 | - } | ||
145 | 143 | ||
146 | // NOTE: I think the following should work for non-DEMO account... | 144 | // NOTE: I think the following should work for non-DEMO account... |
147 | currentBundle = new Bundle(BundleFactory.BASIC_BUNDLE); | 145 | currentBundle = new Bundle(BundleFactory.BASIC_BUNDLE); | ... | ... |
-
Please register or login to post a comment