corona-warn-app / cwa-app-android

Native Android app using the Apple/Google exposure notification API. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
2.44k stars 495 forks source link

Wrong background color (grey) for vaccination immune screenshot #4279

Closed MikeMcC399 closed 2 years ago

MikeMcC399 commented 2 years ago

Avoid duplicates

Technical details

Describe the bug

The screenshot produced in Android Studio for VaccinationDetailsFragment_immune.png has a grey background color although it is for a complete 2/2 vaccination series.

This does not affect use of the app. It is only significant for screenshot usage on the webpage https://www.coronawarn.app/en/screenshots/#android_vaccination_certificate (which is currently using an out-of-date image).

Steps to reproduce the issue

In Android Studio:

  1. Run VaccinationDetailsFragmentTest.kt
  2. View file /data/data/de.rki.coronawarnapp.test/screenshots/VaccinationDetailsFragment_immune.png with Device File Explorer
  3. Note at the top of the screenshot that the background is grey (in the screenshot below marked up with a red rectangle)

VaccinationDetailsFragment_immune

Expected behavior

If a real completed 2/2 vaccination certificate is scanned it displays with a blue background, so the simulated screenshot of a completed 2/2 should display the same way.

The background color of the VaccinationDetailsFragment_immune.png screenshot should be blue.

Possible Fix

The screenshots are generated by VaccinationDetailsFragmentTest.kt.


Internal Tracking ID: EXPOSUREAPP-10229

dsarkar commented 2 years ago

@MikeMcC399 Thanks. Internal Tracking ID: EXPOSUREAPP-10229

MikeMcC399 commented 2 years ago

This issue was resolved with the 2.21 release (see https://www.coronawarn.app/en/screenshots-archive/2-21.html#android_vaccination_certificate),

reverted in 2.22 🙁,

resolved again in 2.24 (see https://www.coronawarn.app/en/screenshots-archive/2-24.html#android_vaccination_certificate),

remains correct in 2.25 (see https://www.coronawarn.app/en/screenshots/#android_vaccination_certificate),

with screenshot https://www.coronawarn.app/assets/screenshots/2-25/en/android/VaccinationDetailsFragment_immune.png 👍🏻

VaccinationDetailsFragment_immune.png