-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use async API to get measurement state and populate to renderers
Per crrev.com/c/4313359, MeasurementManagerFutures will be used and therefore the Android API to get measurement state is asynchronous. The measurement state is per device and can only change when the user changes the setting on the device. The flag is cached as a global variable and initialized once on startup. The value returned from JNI will be populated to all renderer processes created earlier. Bug: 1417278 Change-Id: Ideb3582849d9415acc3b7265a88d54f07a517b4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4319466 Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Auto-Submit: Nan Lin <linnan@chromium.org> Commit-Queue: Ken Buchanan <kenrb@chromium.org> Reviewed-by: John Delaney <johnidel@chromium.org> Reviewed-by: Bo Liu <boliu@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Garrett Tanzer <gtanzer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1115853}
- Loading branch information
1 parent
a47c900
commit 555c9f6
Showing
21 changed files
with
230 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.