Xavier Rubio Jansana

@xrubioj
12 Followers
75 Following
9 Posts
Mobile engineer, Android & iOS. Scuba diver.
Bloghttps://xrubio.com
Twitterhttps://twitter.com/teknik_codes
GitHubhttps://github.com/xrubioj
@Migueldeicaza @steve We also use donkeys in this tone in Spain (but not this specific phrase).

Hello LeakCanary friends! I have a message that could use some reposting 😅

so, eeeer, 2 years ago I messed up and referenced a WorkManager internal class (`SettableFuture`) in LeakCanary. No idea why I did that. Here's my dumb mistake in all its glory: https://github.com/square/leakcanary/pull/2275/files#diff-ae4c2fcbc6f148463cada95a97481365d635c9df97e826f9604824f4f714dfa6R40

Anyway, the WorkManager team is planning to delete this internal class, at which point LeakCanary releases from 2.8 to 2.13 will crash at runtime.

To avoid a nasty surprise, update to 2.14 ASAP! https://square.github.io/leakcanary/changelog/#version-214-2024-04-17

Fix WorkerManager crash pre API 31 by pyricau · Pull Request #2275 · square/leakcanary

setExpedited() isn't enough, we also needed to provide ForegroundInfo. The documentation doesn't make this very obvious, and there's no API enforcement. Fixes #2268

GitHub
@danlew "XXX" here because is quick and it's the first letter of my name. It's riskier though as it can be confused with the XXX movie (I've never watched it) or something worst.
@ty they also enable to deploy unfinished code avoiding merging issues and rolling out features to discover issues that may be hard to discover without scale (e.g. capacity issues).
@codewiththeitalians where 99 of those 100 lines comments and blank lines?

Yay, progress!

“To strengthen the Android platform, our collaboration with Google has resulted in a unified policy that we expect will create a more consistent and reliable user experience for Galaxy users. Since One UI 6.0, foreground services of apps targeting Android 14 will be guaranteed to work as intended so long as they are developed according to Android's new foreground service API policy.” - Samsung

https://android-developers.googleblog.com/2023/05/improving-consistency-of-background-work-on-android.html

Improving Consistency of Background Work on Android

In Android 14, we are adding new functionality to the existing foreground services and JobScheduler APIs. Learn more.

Android Developers Blog
@hth @tagir_valeev I guess you insert a credit card there, and given the slight curvature of the cut the card will not slide and stay at 90 degree angle with the tool. Probably you can put your phone there to hold it up.
@jmmv Makes sense. We use buck for the exact same reason.
@jmmv I'm not impacted by any layoff, but curious instead. Why Bazel and not Buck, or Gradle?