Skip to content
Snippets Groups Projects
  1. Jan 13, 2021
  2. Jan 12, 2021
  3. Jan 11, 2021
    • Matthias Urhahn's avatar
      Additional debug log censoring (EXPOSUREAPP-4451) (#2060) · e87c2028
      Matthias Urhahn authored
      
      * Add log censoring for diary locations, persons and QR code token.
      
      * Fix divider not being hidden if bug report entry is hidden.
      
      * Fix censor modules not being applied in succession if multiple modules match.
      
      * Remove debug helper and address registration token PR issue
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      e87c2028
    • BMItter's avatar
      CleanUp - Remove static app context access (EXPOSUREAPP-4506) (#2059) · 40334486
      BMItter authored
      * Removed unused method formatEmptyString
      
      * Moved formatColorDivider into layout
      
      * Moved formatColorIcon into layout
      
      * Removed unused FormatterSettingsHelper
      
      * Removed leftovers of FormatterSettingsHelper
      
      * Removed static app context from formatColor
      
      * Removed unused formatDrawable
      
      * Removed app context from FormatterSubmissionHelper
      
      * Adjusted tests - formattersubmissionhelperTest
      
      * Removed app context from FormatterInformationLegalHelper
      
      * replaced dimen/match_constraint with 0dp
      
      * fix - base on current 1.11.x
      
      * fix for formattestTestResult call
      40334486
  4. Jan 08, 2021
  5. Jan 07, 2021
    • axelherbstreith's avatar
      Contact Journal Day date is not announced (EXPOSUREAPP-4457) (#2006) · d598a6cf
      axelherbstreith authored
      * Added TalkBack Support for toolbar in day screen
      
      * Updated day strings to support all languages
      
      * Update date format to support different languages in overview screen
      
      * Linting
      
      * Updated day screen - Title is now read automatically when opening the screen
      
      * Removed unsused type announcement for accessibility
      
      * reverted changes in localization
      
      * linting
      
      * Updated local specific date announcements
      
      * Linting
      
      * Updated creation of accessibility date
      
      * Updated formatting
      d598a6cf
    • Matthias Urhahn's avatar
      388cbe80
    • Chilja Gossow's avatar
      Use close button on warn others screen (EXPOSUREAPP-4257) (#2040) · d66f0a46
      Chilja Gossow authored
      
      * replace with close button
      
      * use toolbar
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      d66f0a46
    • Oliver Zimmerman's avatar
      No illustration description for image on Background Priority settings screen... · 0cbfd29d
      Oliver Zimmerman authored
      No illustration description for image on Background Priority settings screen (EXPOSUREAPP-4097) (#2031)
      
      * added getter for illustration description in BackgroundPriorityState
      
      * Added new string to other string files
      
      * Removed unnecessary string entries
      
      * Added actual string values.
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      0cbfd29d
    • Matthias Urhahn's avatar
      Add debug log feature for non-tester builds (EXPOSUREAPP-4451) (#2029) · 54ddd11e
      Matthias Urhahn authored
      
      * Initial draft for user accessible debug logs in production.
      
      TODO: Sharing, Tests, Cleanup FileLoggerTree?
      
      * Ready strings for translation.
      
      * Log file compression for sharing (zip).
      
      * Add log sharing
      
      * Change how DebugLogger is initialized to make sure we can record issues that happen very early in the apps lifecycle.
      
      * Add missing toolbar back arrow navigation.
      
      * Fix initial delay for ui state emissions.
      
      * Censor registration token.
      
      * Adjust warning regarding sensitive data in debug logs.
      
      * Use property injection instead of component getters.
      
      * Hide option until greenlit.
      
      * Add test for RegistrationTokenCensor
      
      * Unit tests.
      
      * Make unit test without triggerfile more specific.
      
      * LINTs
      
      * Fix missing injection provider in release mode.
      
      * Fix regtoken censor if condition.
      
      * Fix typos.
      
      * Remove empty manifest specific to deviceForTesters build.
      
      * Wait until log job is canceled before deleting log files.
      Otherwise a race condition could lead to file creation after job cancellation.
      
      * Replace runBlockingTest with runBlocking we don't need scheduler control and runBlockingTest is sometimes unreliable.
      
      * Refactor FileSharing to use compat builder from androidx.
      
      * Handle exceptions on debug log start()
      
      * Print device infos when log is started.
      
      * Text changes requested by UA
      
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      54ddd11e
  6. Jan 06, 2021
  7. Jan 05, 2021
    • Mohamed Metwalli's avatar
      Create Instrumentation tests & screenshots for the Onboarding flow (EXPOSUREAPP-4478) #2015 · e2eb813b
      Mohamed Metwalli authored
      
      * Add tooling layout tag for better overview
      
      * Ignore error for ProtectedPermissions
      
      * Add instrumentation tests to capture screenshots in Onboarding flow
      
      * Specify java version to avoid assembling APK failure
      
      * Define custom annotation for tests
      
      * Use fastlane Screengrab
      
      * ignore screenshots folder
      
      * Remove redundant imports and rules
      
      * Add View assertion to make sure Fragment is already displaying its views to avoid capturing blank screenshots
      
      * List some configurations for fastlane
      
      * Add TODO for locale change
      
      * Allow timestamp suffix to have different screenshots names
      
      * Scroll and grab another screenshot in OnboardingFragment
      
      * Delete import
      
      * Filter tests using Screenshot annotation
      
      * Add locale change rule in UI tests
      
      * Limit screenshots only for DE locale
      
      * Enable screenshots for all locales
      
      * Enable screenshot test
      
      * lint cleaning
      
      * Use JavaVersion to specify java version
      
      * Add an inline function that defaults to AppTheme
      
      * Update dcos for launchFragmentInContainer2
      
      * lint
      
      * Define generic apk_path
      
      * Support cleaning device status bar before taking screenshot
      
      * Correct docs
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      e2eb813b
    • Chilja Gossow's avatar
      Announce type for location and person - accessibility (EXPOSUREAPP-4459-4458-4456) (#1994) · 349c7072
      Chilja Gossow authored
      
      * accessibilty announcement for list items person and location
      
      * Merge branch 'release/1.11.x' into feature/4459-accessibility-loc-person
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/layout/contact_diary_location_list_item.xml
      #	Corona-Warn-App/src/main/res/layout/contact_diary_person_list_item.xml
      
      * Merge branch 'release/1.11.x' into feature/4459-accessibility-loc-person
      
      # Conflicts:
      #	Corona-Warn-App/src/main/res/layout/contact_diary_location_list_item.xml
      #	Corona-Warn-App/src/main/res/layout/contact_diary_person_list_item.xml
      
      * add selection announcements
      
      * lint
      
      * lint
      
      * screen announcement
      
      * screen announcement
      
      * klint
      
      * klint
      
      * strings correction
      
      * strings
      
      * refactoring string access
      
      * allow spread operator
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      349c7072
  8. Jan 04, 2021
  9. Dec 29, 2020
  10. Dec 28, 2020
  11. Dec 23, 2020
    • Matthias Urhahn's avatar
      Check device time (EXPOSUREAPP-2998) (#1985) · 6e7d89e2
      Matthias Urhahn authored
      * Let the AppConfig validity check use absolute values, to support device time check behavior.
      
      * Add mapping for "disable-device-time-check" to app config.
      
      * Show popup dialog if the device time is invalid.
      * Remove extra retrofit cache (use only LocalAppConfigSource.kt)
      * Exposure device time check
      * Reset user acknowledgement
      
      * LINTs
      
      * Add test menu option to disable device time check via affecting the config mapping.
      
      * Download, but don't submit keys if device time is incorrect.
      Abort risk level calculation if time is incorrect.
      
      * Due to multiple properties in ConfigData affecting `isDeviceTimeCorrect`, make it a body property and don't allow overriding via constructor.
      
      * Add unit test for test settings affecting the device config only in tester builds.
      
      * Show notification regarding incorrect time when device is in the background.
      
      * Fix test regressions and add additional test cases for download and risk task abort conditions on incorrect device time.
      
      * Fix merge regressions.
      
      * Add time unit to log statement.
      
      * Fix incorrect time dialog showing in a loop when entering leaving the home screen.
      
      * Remove unused code path for clear().
      
      * Print additional timestamps to help debugging efforts in the future.
      6e7d89e2
    • axelherbstreith's avatar
      Contact Journal Polishing (EXPOSUREAPP-4466) (#1983) · 82a1f74e
      axelherbstreith authored
      * Removed rounded corners from onboarding screen background
      
      * Changed naming of xml
      
      * Changed behavior of placeholder in day screen
      
      * Changed behaviour of placeholder in edit screen
      
      * Changed naming of overview screen list items
      
      * Updated layout of over view list items
      
      * Updated Overview screen list items
      
      * Added dimens
      
      * Updated list item size
      
      * Changed item layout
      
      * Added ripple to list items in overview screen
      
      * Removed scroll bar from overview list
      
      * Linting
      
      * removed unused overview screen list item
      
      * Simplified expressions
      
      * Reformatted contact diary xml files
      
      * Added dimens
      
      * removed unused layout tag
      82a1f74e
    • Matthias Urhahn's avatar
      Adjust layout margins to have a cleaner look (whitespace wise) and prevent cut... · 2df132f0
      Matthias Urhahn authored
      Adjust layout margins to have a cleaner look (whitespace wise) and prevent cut off text on row items. (#1991)
      
      2df132f0
    • Chilja Gossow's avatar
      Adapt contact diary tab color(EXPOSURERAPP-4403) #1990 · 35f38bf5
      Chilja Gossow authored
      
      * adapt colors to match design
      
      * elevation
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      35f38bf5
    • Chilja Gossow's avatar
      Small ui fixes- margins, selectable item background, list updates(DEV) (#1970) · b0826ad1
      Chilja Gossow authored
      * adjust margins to match design
      use selectable item background
      add animated list updates
      
      * move logic to contact diary specific element
      
      * change style
      
      * use stableIds
      b0826ad1
    • Rituraj Sambherao's avatar
      Wrong button text color in symptom flow (EXPOSUREAPP-4207) #1911 · c4ea0d24
      Rituraj Sambherao authored
      
      * Text Color changed
      
      * Text Color changed for calendar screen
      
      * removing build.gradle changes that carried over from 1.10
      
      * lint fix
      
      * adapt color scheme to be consistent and high contrast
      
      * klint
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      Co-authored-by: default avatarChilja Gossow <49635654+chiljamgossow@users.noreply.github.com>
      Co-authored-by: default avatarchilja <chiljamgossow@gmail.com>
      c4ea0d24
  12. Dec 22, 2020
    • Matthias Urhahn's avatar
      Refactor home-screen and tracing details fragment (EXPOSUREAPP-4049) (#1912) · 2880971e
      Matthias Urhahn authored
      
      * Refactor home-screen and tracing details fragment.
      * Use recycler view to display list items
      * Remove nested/included layouts and make Android Studio layout previews functional
      * Split list items into independent elements (positive/negative/pending)
      * Layout cleanups & flattening
      * Small padding and alignment fixes
      
      * Clean up tests and fix class names.
      
      * Move UI classes towards "package by feature", each feature has their own ui package.
      
      * LINTs
      
      * Fix log statements.
      
      * Only crash in tester builds.
      
      * Update Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeAdapter.kt
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Refactor adapter init.
      
      * LINT
      
      * Remove "card" from property name, the "TracingStateProvider" is UI agnostic.
      
      * LINTs
      
      * Don't show the risk card if there is a positive test result.
      
      * Fix crash on init with unknown resource IDs (before data binding is available).
      
      * Fix progress card not being colored in risk details fragment
      
      * LINTs
      
      * Prepare viewholders for payload use.
      
      * Update Corona-Warn-App/src/main/res/layout/home_fragment_layout.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Improve toolbar and tracing bar behavior, scrollable, fewer nested layouts.
      
      * Adjust popup theme.
      
      * Remove color state list for cards, click behavior is done via `selectableItemBackground`
      
      * Fix visual artifact when expanding toolbar menu.
      
      * Align box coloring in dark mode and click animation.
      
      * Fix flickering Test and FAQ card.
      
      * Fix missing "enable tracing" button in home card.
      
      * Fix risk/tracing details elevation/dividers in light and dark mode
      
      * Resolve merge regressions and include contact diary card via recyclerview.
      
      * Adjust toolbar background color to new mockups (diary mockups have lighter darkmode).
      
      * Update Corona-Warn-App/src/main/res/layout/home_card_container_layout.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Update Corona-Warn-App/src/main/res/layout/tracing_content_failed_view.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Tint card background color. Just replacing the background didn't ahve the desired effect.
      
      * Fix possible NPE on last encounter calculation.
      
      * LINTs and typos.
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      2880971e
  13. Dec 21, 2020
  14. Dec 18, 2020
Loading