Open
Bug 2036436
Opened 6 months ago
Updated 7 days ago
Consolidate the call to getApplicationInstalledTime in one location per app-startup
Categories
(Firefox for Android :: Performance, task)
Tracking
()
ASSIGNED
People
(Reporter: Gela, Assigned: jocelyne.ah1)
References
Details
(Keywords: good-next-bug)
Attachments
(1 external file)
We have a few different places calling getApplicationInstalledTime. Since install time doesn't change, we should have only 1 call per startup. The other calls that happens after should be using a cached value.
Keywords: good-next-bug
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → Performance
| Assignee | ||
Comment 2•9 days ago
|
||
The install time cannot change while the app is running, so look it up once per process instead of asking the PackageManager separately in Nimbus, MetricsStorage, GrowthDataWorker and the Terms of Use pref.
These callers now get 0L when the lookup fails instead of an exception, which matches what getApplicationInstalledTime() already did.
Updated•9 days ago
|
Assignee: nobody → jocelyne.ah1
Status: NEW → ASSIGNED
You need to log in
before you can comment on or make changes to this bug.
Description
•