Skip to content

Conversation

@joshtrichards
Copy link
Member

Remove getCurrentAccount() method from CurrentAccountProvider interface.
The method was deprecated in favor of getUser() and had only one external
caller (DrawerActivity), which has been migrated to use getUser() instead.

The implementation in UserAccountManagerImpl remains as it's still used
internally by getUser(), but removing it from the interface prevents new
code from depending on the deprecated Account-based API.

Refs: #4853, #4835

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🏁 Checklist

  • Tests written, or not not needed

@joshtrichards joshtrichards added 3. to review technical debt feature: authentication Authentication or accounts related ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Feb 8, 2026
Signed-off-by: Josh <josh.t.richards@gmail.com>
…ovider

Remove getCurrentAccount() method from CurrentAccountProvider interface. The method was deprecated in favor of getUser() and had only one external caller (DrawerActivity), which has been migrated to use getUser() instead.

The implementation in UserAccountManagerImpl remains as it's still used internally by getUser(), but removing it from the interface prevents new code from depending on the deprecated Account-based API.

Refs: #4853, #4835

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@alperozturk96 alperozturk96 force-pushed the jtr/drop-deprecated-getCurrentAccount branch from d7beab0 to 691e33b Compare February 9, 2026 08:20
Copy link
Collaborator

@alperozturk96 alperozturk96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello

Thank you for the PR. SessionMixing still using.

Image

and eventually other classes...

Image

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

test-Unit test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review feature: authentication Authentication or accounts related ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants