-
Notifications
You must be signed in to change notification settings - Fork 85
Increase compile/target SDK version to 35 #2525
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
Conversation
📸 Snapshot Test648 unchanged
🛸 Powered by Emerge Tools |
@@ -56,15 +57,15 @@ internal fun Bitmap.blur(context: Context, radius: Float, scaleDown: Boolean = t | |||
script.setInput(input) | |||
script.forEach(output) | |||
|
|||
val blurredBitmap = Bitmap.createBitmap(bitmap.width, bitmap.height, config) | |||
val blurredBitmap = config?.let { createBitmap(bitmap.width, bitmap.height, it) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it doesn't accept a nullable value anymore... In this case, I'm making it so, if config
is null, we return the original bitmap without the blurring. I don't fully understand in what situations this might be null though in my tests, it seems to work fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From cs.android.com:
If the bitmap's internal config is in one of the public formats, return that config, otherwise return null.
I guess that is usually non-null indeed. 🤷
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2525 +/- ##
=======================================
Coverage 77.93% 77.93%
=======================================
Files 286 286
Lines 10572 10572
Branches 1485 1485
=======================================
Hits 8239 8239
Misses 1687 1687
Partials 646 646 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -56,15 +57,15 @@ internal fun Bitmap.blur(context: Context, radius: Float, scaleDown: Boolean = t | |||
script.setInput(input) | |||
script.forEach(output) | |||
|
|||
val blurredBitmap = Bitmap.createBitmap(bitmap.width, bitmap.height, config) | |||
val blurredBitmap = config?.let { createBitmap(bitmap.width, bitmap.height, it) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From cs.android.com:
If the bitmap's internal config is in one of the public formats, return that config, otherwise return null.
I guess that is usually non-null indeed. 🤷
**This is an automatic release.** ## RevenueCat SDK ### 🐞 Bugfixes * Fix upgrades/downgrades after BC8 update (#2532) via Toni Rico (@tonidero) ### 📦 Dependency Updates * [RENOVATE] Update build-dependencies (#2515) via RevenueCat Git Bot (@RCGitBot) * [RENOVATE] Update build-dependencies (#2472) via RevenueCat Git Bot (@RCGitBot) ## RevenueCatUI SDK ### Paywallv2 #### 🐞 Bugfixes * Make PaywallActivity not consume insets in Android 16+ (#2520) via Toni Rico (@tonidero) ### 🔄 Other Changes * Add CLAUDE.md (#2522) via Cesar de la Vega (@vegaro) * Update kotlin version in README (#2524) via Cesar de la Vega (@vegaro) * Increase compile/target SDK version to 35 (#2525) via Toni Rico (@tonidero) * Fix snapshot deployment (#2526) via Toni Rico (@tonidero) * Update CircleCI android orb (#2521) via Toni Rico (@tonidero) * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2517) via RevenueCat Git Bot (@RCGitBot) * Improve v9 migration docs (#2514) via Toni Rico (@tonidero) * Bump AGP to 8.10.1 and Gradle to 8.14.2 (#2440) via Jaewoong Eum (@skydoves) * Fixes compilation of the CEC sample app. (#2512) via JayShortway (@JayShortway) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Increases compile/target SDK version to 35
Description
Increases compile/target SDK version to 35