Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Reduce timeout to 5 sec (EXPOSUREAPP-5196) #2392

Merged
merged 10 commits into from
Feb 18, 2021

Conversation

mtwalli
Copy link
Contributor

@mtwalli mtwalli commented Feb 17, 2021

  • This PR addresses an issue when Broadcast receiver is not triggered after requesting TEK keys using new Google APIs

  • Before 20 sec timeout it gives the user the ability to click the button many times ,while DefaultTEKProvider is waiting to timeout after 20 sec if receiver did not deliver the keys

  • Reducing timeout to 5 sec will timeout quickly with an error which then will fallback to old APIs to get the keys

  • Show Progress dialog while retrieving the keys to give the user indication that there's something going in the background and prevent multiple many clicks

@mtwalli mtwalli added bug Something isn't working maintainers Tag pull requests created by maintainers labels Feb 17, 2021
@mtwalli mtwalli added this to the 1.13.0 milestone Feb 17, 2021
@mtwalli mtwalli requested a review from a team February 17, 2021 11:59
@mtwalli mtwalli marked this pull request as draft February 17, 2021 12:00
@mtwalli mtwalli changed the title Reduce timeout to 2 sec (EXPOSUREAPP-5196) Reduce timeout to 5 sec (EXPOSUREAPP-5196) Feb 17, 2021
@ralfgehrer ralfgehrer self-assigned this Feb 17, 2021
@mtwalli mtwalli marked this pull request as ready for review February 17, 2021 16:01
@harambasicluka harambasicluka self-assigned this Feb 17, 2021
@harambasicluka
Copy link
Contributor

LGTM, tested on a Pixel3. Won't approve it until we have a decision how to proceed.

@sonarcloud
Copy link

sonarcloud bot commented Feb 17, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

30.8% 30.8% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@ralfgehrer ralfgehrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested on Pixel (Android 10) with and w/o giving consent.

@ralfgehrer ralfgehrer merged commit 9d66550 into release/1.13.x Feb 18, 2021
@ralfgehrer ralfgehrer deleted the fix/5196-fix-multiple-consents branch February 18, 2021 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working do not merge maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants