refactor: inject AuthorizationService using Hilt
This commit refactors the `OpenIdAuthenticationViewModel`, `OpenIdEndSessionActivity`, `SyncManager`, and `DefaultAccountAuthenticatorService` to use Hilt for injecting the `AuthorizationService`. Previously, there were manual creation of it which might cause issues with the dispose() method. Key changes: - Ensured `AuthorizationService` is configured to use /e/OS's Browser (`Constants.E_BROWSER_PACKAGE_NAME`) for authentication flows within `OAuthModule`. - Updated logging level for `AuthorizationService.dispose()` failures from INFO to WARNING.
Loading
Please register or sign in to comment