Bug 1232773 - review: Comment on Adjust usage. r=me

--HG--
extra : commitid : Co0fhvtIVNB
extra : rebase_source : 7d7eb18a157611d3187fc8862642c94c943c2853
This commit is contained in:
Michael Comella 2015-12-16 14:50:02 -08:00
Родитель db456ab02e
Коммит 09828218c0
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -886,6 +886,8 @@ public class BrowserApp extends GeckoApp
@Override
public void onResume() {
super.onResume();
// Needed for Adjust to get accurate session measurements
AdjustConstants.getAdjustHelper().onResume(this);
final String args = ContextUtils.getStringExtra(getIntent(), "args");
@ -908,7 +910,10 @@ public class BrowserApp extends GeckoApp
@Override
public void onPause() {
super.onPause();
// Needed for Adjust to get accurate session measurements
AdjustConstants.getAdjustHelper().onPause(this);
// Register for Prompt:ShowTop so we can foreground this activity even if it's hidden.
EventDispatcher.getInstance().registerGeckoThreadListener((GeckoEventListener) this,
"Prompt:ShowTop");