Ensure that the battery optimization banner is not displayed after an internal clear cache.
This commit is contained in:
parent
c61b118f42
commit
d8095faa43
8 changed files with 47 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ class DefaultClearCacheUseCase @Inject constructor(
|
|||
seenInvitesStore.clear()
|
||||
// Ensure any error will be displayed again
|
||||
pushService.setIgnoreRegistrationError(matrixClient.sessionId, false)
|
||||
pushService.resetBatteryOptimizationState()
|
||||
// Ensure the app is restarted
|
||||
defaultCacheService.onClearedCache(matrixClient.sessionId)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue