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

Excluding legacy support library annotation usages #7140

Merged
merged 7 commits into from
Sep 16, 2022

Conversation

ouchadam
Copy link
Contributor

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

  • Excludes usages of the support annotation library, these are compile time hints and safe to remove.
  • Removes unused progressPieIndicator dependency
  • Excludes the appcompat library from jitsi's android-scalablevideoview, the library is pre-jetified but includes a redundant legacy support library transitive dependency

Motivation and context

The time has come to avoid using the Jetifier (the process of converting libraries from the legacy support library to androidx). The Paparazzi integration is blocked due to the plugin requiring the jetifier to be disabled for the base android libraries which causes the unit tests with android imports to fail.

There is one more library to update im.dlg:android-dialer:1.2.5 which will need to be manually included as the upstream project no longer exists, although it's mainly a wrapper around legacy AOSP classes.

Will slightly speed up the build and may improve the cachability of the module dependencies (as they'll be statically cached from their maven repositories)

Screenshots / GIFs

No UI changes

Tests

Smoke test around the app

  • View markdown text
  • Make video calls

Tested devices

  • Physical
  • Emulator
  • OS version(s): 28

@ouchadam ouchadam added the PR-Small PR with less than 20 updated lines label Sep 15, 2022
@ouchadam ouchadam requested review from a team and Florian14 and removed request for a team September 15, 2022 13:08
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ouchadam ouchadam mentioned this pull request Sep 15, 2022
6 tasks
@ouchadam ouchadam force-pushed the feature/adm/legacy-support-library-usages branch from b78240e to ae50f5a Compare September 16, 2022 10:37
…ules also get the exclusion

- also excludes the support dependency from the barcode scanner
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

No Coverage information No Coverage information
No Duplication information No Duplication information

@ouchadam ouchadam merged commit 8bfe7b6 into develop Sep 16, 2022
@ouchadam ouchadam deleted the feature/adm/legacy-support-library-usages branch September 16, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Small PR with less than 20 updated lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants