You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A string set that contains a null item causes HarmonyTransaction to crash, due to it not handling null values in string sets. This only occurs when using apply due to the transactional nature of Harmony updates that allow it to do quick reloads. Example code below:
val prefs = context.getHarmonySharedPreferences("prefs")
val testHashSet = hashSetOf<String?>(null)
prefs.edit().putStringSet("test", testHashSet).apply()
This causes a crash in an internal background thread.
The text was updated successfully, but these errors were encountered:
A string set that contains a
null
item causesHarmonyTransaction
to crash, due to it not handlingnull
values in string sets. This only occurs when usingapply
due to the transactional nature of Harmony updates that allow it to do quick reloads. Example code below:This causes a crash in an internal background thread.
The text was updated successfully, but these errors were encountered: