forecastie icon indicating copy to clipboard operation
forecastie copied to clipboard

Fix warnings due to using deprecated APIs

Open robinpaulson opened this issue 4 years ago • 0 comments

Since upgrading to AndroidX/API29, we're getting many deprecation warnings, e.g.: warning: [deprecation] PreferenceManager in android.preference has been deprecated

None of these are critical, but the API in question will likely be removed in the future, breaking the app. It appears to be a simple fix.

https://stackoverflow.com/questions/56833657/preferencemanager-getdefaultsharedpreferences-deprecated-in-android-q

robinpaulson avatar May 01 '21 01:05 robinpaulson