Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use persistent settings for telemetry controls. #755

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

joeltine
Copy link
Contributor

This allows telemetry state to persist through app lifecycles (important since the web app has a different lifecyle).

b/286898092

Change-Id: I819f8d31420af8d6c9d4f2ce7f5afeada893fd0e

This allows telemetry state to persist through app lifecycles (important
since the web app has a different lifecyle).

b/286898092

Change-Id: I819f8d31420af8d6c9d4f2ce7f5afeada893fd0e
@joeltine joeltine requested a review from gbournou June 27, 2023 21:23
cobalt/browser/application.cc Outdated Show resolved Hide resolved
cobalt/h5vcc/h5vcc_metrics.h Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #755 (1baa525) into main (cb1e721) will decrease coverage by 0.01%.
The diff coverage is 18.18%.

❗ Current head 1baa525 differs from pull request most recent head 351112d. Consider uploading reports for the commit 351112d to get more accurate results

@@            Coverage Diff             @@
##             main     #755      +/-   ##
==========================================
- Coverage   56.51%   56.51%   -0.01%     
==========================================
  Files        1897     1897              
  Lines       94210    94218       +8     
==========================================
  Hits        53243    53243              
- Misses      40967    40975       +8     
Impacted Files Coverage Δ
cobalt/h5vcc/h5vcc_metrics.cc 0.00% <0.00%> (ø)
cobalt/h5vcc/h5vcc.cc 60.00% <100.00%> (ø)
cobalt/h5vcc/h5vcc_metrics.h 100.00% <100.00%> (ø)

b/286898092

Change-Id: Idb96655fc9bb56cf04a6a0c29e481ea824fcc47f
@joeltine joeltine requested a review from gbournou June 27, 2023 23:22
@joeltine joeltine merged commit ff1b81e into youtube:main Jun 28, 2023
@joeltine joeltine deleted the telemetry-persistent-settings branch June 28, 2023 00:12
@joeltine joeltine added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Jun 28, 2023
cobalt-github-releaser-bot pushed a commit that referenced this pull request Jun 28, 2023
* Use persistent settings for telemetry controls.

This allows telemetry state to persist through app lifecycles (important
since the web app has a different lifecyle).

b/286898092

Change-Id: I819f8d31420af8d6c9d4f2ce7f5afeada893fd0e

* Remove is_enabled_ and set interval default

b/286898092

Change-Id: Idb96655fc9bb56cf04a6a0c29e481ea824fcc47f
(cherry picked from commit ff1b81e)
joeltine added a commit that referenced this pull request Jun 28, 2023
…768)

* Use persistent settings for telemetry controls.

This allows telemetry state to persist through app lifecycles (important
since the web app has a different lifecyle).

b/286898092

Change-Id: I819f8d31420af8d6c9d4f2ce7f5afeada893fd0e

* Remove is_enabled_ and set interval default

b/286898092

Change-Id: Idb96655fc9bb56cf04a6a0c29e481ea824fcc47f
(cherry picked from commit ff1b81e)

Co-authored-by: Joel Martinez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants