Fix invalid group authoriziation cache crash.

This commit is contained in:
Cody Henthorne
2025-01-28 11:39:08 -05:00
committed by Greyson Parrelli
parent 9862b758e5
commit 49e4eb95d4

View File

@@ -88,7 +88,9 @@ public final class GroupsV2AuthorizationSignalStoreCache implements GroupsV2Auth
return result;
} catch (IOException | InvalidInputException e) {
throw new AssertionError(e);
Log.w(TAG, "Unable to read cached credentials, clearing and requesting new ones instead", e);
clear();
return Collections.emptyMap();
}
}