Skip to content

RUM-1208: Target Android 14 (API 34)#1649

Merged
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-1208/target-android-14
Sep 29, 2023
Merged

RUM-1208: Target Android 14 (API 34)#1649
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-1208/target-android-14

Conversation

@0xnm

@0xnm 0xnm commented Sep 29, 2023

Copy link
Copy Markdown
Member

What does this PR do?

Behaviour changes are here https://developer.android.com/about/versions/14/behavior-changes-14.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@0xnm
0xnm marked this pull request as ready for review September 29, 2023 10:24
@0xnm
0xnm requested a review from a team as a code owner September 29, 2023 10:24
@0xnm
0xnm force-pushed the nogorodnikov/rum-1208/target-android-14 branch from e11e265 to b5cdc02 Compare September 29, 2023 10:52
@codecov-commenter

codecov-commenter commented Sep 29, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.64%. Comparing base (2876dee) to head (b5cdc02).
⚠️ Report is 2105 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1649      +/-   ##
===========================================
- Coverage    83.72%   83.64%   -0.09%     
===========================================
  Files          456      456              
  Lines        15690    15687       -3     
  Branches      2345     2344       -1     
===========================================
- Hits         13136    13120      -16     
- Misses        1927     1932       +5     
- Partials       627      635       +8     

see 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

}

unMock {
keep("android.widget.ImageView\$ScaleType")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why do we needed this ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

otherwise running unit test fails, because probably android.jar for API 34 changed behaviour of ScaleType.values() which returns null and then when branch fails to process this value in the getDrawableScaledDimensions

@0xnm
0xnm merged commit 60e5c53 into develop Sep 29, 2023
@0xnm
0xnm deleted the nogorodnikov/rum-1208/target-android-14 branch September 29, 2023 12:41
@xgouchet xgouchet added this to the 2.2.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants