gecko/mobile
Michael Comella 8b980a0619 Bug 1232773 - Add Adjust.onPause/onResume to record session info. r=mfinkle
I added these to BrowserApp to match the use of Adjust.onCreate in BrowserApp.

These sessions don't perfectly match the FHR sessions they replace which get
called in:
  GeckoApp.onPause (session end)
  BrowserHealthRecorder.onEnvironmentTransition (session end)
  BrowserHealthRecorder.checkForOrphanSessions (session start)
    - From BHR.initializeStorage <- BHR.handleMessage. I didn't figure out
      where this message comes from but given "initializeStorage", I assume
      this comes from a startup routine of GeckoApp.

However, the Adjust docs are explicit about adding these values to
onPause/onResume and presumably written under the assumption that those methods
are called in the appropriate places.

The docs also mention these calls should occur in all Activities but I followed
FHR where only the main Activity is logged - I don't predict any negative side
effects from this change.
2015-12-15 14:44:02 -08:00
..
android Bug 1232773 - Add Adjust.onPause/onResume to record session info. r=mfinkle 2015-12-15 14:44:02 -08:00
locales Bug 1228467 - Don't preprocess chrome files without preprocessor directives. r=gps 2015-12-01 08:25:22 +09:00