Skip to content

String format with decimal issue in Android 8.1.0 #3176

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

Merged
merged 2 commits into from
Dec 14, 2021
Merged

String format with decimal issue in Android 8.1.0 #3176

merged 2 commits into from
Dec 14, 2021

Conversation

argzdev
Copy link
Contributor

@argzdev argzdev commented Nov 25, 2021

Speculative fix for issue #3084. NullPointerException is encountered specifically on Android version 8.1.0, this is due to String.format inserted with Double values.

The proposed fix is to use DecimalFormat to format the values before being inserted in String.format

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Nov 25, 2021

Coverage Report

Affected SDKs

No changes between base commit (42542ba) and head commit (1ac46bd9).

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (1ac46bd9) is created by Prow via merging commits: 42542ba 660439b.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Nov 25, 2021

Binary Size Report

Affected SDKs

  • firebase-perf

    Type Base (42542ba) Head (1ac46bd9) Diff
    aar 301 kB 301 kB +24 B (+0.0%)
    apk (aggressive) 980 kB 981 kB +48 B (+0.0%)
    apk (release) 2.45 MB 2.45 MB +116 B (+0.0%)

Test Logs

Notes

Head commit (1ac46bd9) is created by Prow via merging commits: 42542ba 660439b.

@argzdev
Copy link
Contributor Author

argzdev commented Nov 25, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Nov 25, 2021

/test check-changed

@argzdev
Copy link
Contributor Author

argzdev commented Nov 25, 2021

/test device-check-changed

@argzdev
Copy link
Contributor Author

argzdev commented Nov 25, 2021

/retest

2 similar comments
@argzdev
Copy link
Contributor Author

argzdev commented Nov 25, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Nov 26, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Nov 26, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Dec 9, 2021

/test cla/google

@argzdev
Copy link
Contributor Author

argzdev commented Dec 9, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Dec 13, 2021

/test cla/google

@argzdev
Copy link
Contributor Author

argzdev commented Dec 14, 2021

/retest

@argzdev
Copy link
Contributor Author

argzdev commented Dec 14, 2021

/test cla/google

@google-cla google-cla bot added cla: yes Override cla and removed cla: no labels Dec 14, 2021
@jeremyjiang-dev jeremyjiang-dev merged commit 1db6cdf into firebase:master Dec 14, 2021
@argzdev argzdev deleted the issue_3084 branch December 14, 2021 16:48
@firebase firebase locked and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants