зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1232773 - review: Comment on Adjust usage. r=me
--HG-- extra : commitid : Co0fhvtIVNB extra : rebase_source : 7d7eb18a157611d3187fc8862642c94c943c2853
This commit is contained in:
Родитель
db456ab02e
Коммит
09828218c0
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче