Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Beta
-
Fix Version/s: 1.0 Final
-
Component/s: None
-
Labels:None
-
Environment:ICEmobile/Android
Description
User response to a C2DM notification resumes the container activity, but does not cause a page reload to occur. This needs to happen to pick up any updates. Forcing a page reload on any onResume() is overkill, as not all resumes are associated with a page update. When resuming, either it is the result of a C2DM notification, or possibly an outstanding C2DM notification exists. These are the conditions under which a page should be reloaded.
When container onResume() is called, it now checks if there is an outstanding c2dm notification, and if one exists a page reload is performed, and the notification is cancelled.