Skip to content

build(User/Account): update deprecation notes and add to overrides#16483

Merged
AndyScherzinger merged 5 commits into
masterfrom
jtr/build-deprecated-Account-warnings
Feb 8, 2026
Merged

build(User/Account): update deprecation notes and add to overrides#16483
AndyScherzinger merged 5 commits into
masterfrom
jtr/build-deprecated-Account-warnings

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Feb 8, 2026

Copy link
Copy Markdown
Member

Addresses lint warnings like these:

w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/AnonymousUser.kt:52:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/AnonymousUser.kt:54:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/MockUser.kt:47:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/MockUser.kt:49:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/RegisteredUser.kt:33:16 'fun <T : Parcelable!> readParcelable(p0: ClassLoader?): T?' is deprecated. Deprecated in Java.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/RegisteredUser.kt:34:16 'fun <T : Parcelable!> readParcelable(p0: ClassLoader?): T?' is deprecated. Deprecated in Java.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/RegisteredUser.kt:35:16 'fun <T : Parcelable!> readParcelable(p0: ClassLoader?): T?' is deprecated. Deprecated in Java.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/RegisteredUser.kt:44:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///home/runner/work/android/android/app/src/main/java/com/nextcloud/client/account/RegisteredUser.kt:46:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.

Also makes the deprecation notice a bit more informative.

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🏁 Checklist

  • Tests written, or not not needed

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@AndyScherzinger AndyScherzinger added the technical debt Refactoring or cleanup needed to improve maintainability. label Feb 8, 2026
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.37.0 milestone Feb 8, 2026
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger force-pushed the jtr/build-deprecated-Account-warnings branch from c841330 to cae5468 Compare February 8, 2026 18:52
@github-actions

github-actions Bot commented Feb 8, 2026

Copy link
Copy Markdown

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16483.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions

github-actions Bot commented Feb 8, 2026

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@AndyScherzinger AndyScherzinger merged commit e5b4d0a into master Feb 8, 2026
17 of 21 checks passed
@AndyScherzinger AndyScherzinger deleted the jtr/build-deprecated-Account-warnings branch February 8, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review technical debt Refactoring or cleanup needed to improve maintainability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants