mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-29 13:16:01 +01:00
While the same instance of SharedPreferences is returned each time, in order to get it, the system has to do a file check each time it's with a new context. We can safely cache the instance instead of paying that file check each time and pay it only once.