getMigratedEncryptedSharedPreferences

Returns an instance of Encrypted Shared Preferences supporting multiprocess, migrating its contents if needed

Return

the encrypted shared preferences or null if there was any error (eg. device doesn't support it)

Parameters

name

Name of the shared preferences


Returns an instance of Encrypted Shared Preferences supporting multiprocess, migrating its contents if needed

Return

the encrypted shared preferences or null if there was any error (eg. device doesn't support it)

Parameters

origin

The SharedPreferences instance to migrate

name

Name of the shared preferences