} catch (GeneralSecurityException e) {
clearAccessTokenFromSharedPreferences(context);
throw new SPiDKeychainException("GeneralSecurityException", e);</BUG>
} catch (UnsupportedEncodingException e) {
<BUG>clearAccessTokenFromSharedPreferences(context);
throw new SPiDKeychainException("UnsupportedEncodingException", e);</BUG>
}
editor.commit();
}
<BUG>public static SPiDAccessToken decryptAccessTokenFromSharedPreferences(Context context, String encryptionKey) {
SharedPreferences secure = context.getSharedPreferences(context.getPackageName() + ".sdk", Context.MODE_PRIVATE);</BUG>
if (secure.contains("access_token")) {

} catch (GeneralSecurityException e) {
clearAccessTokenFromSharedPreferences();
throw new SPiDKeychainException("GeneralSecurityException", e);
} catch (UnsupportedEncodingException e) {
clearAccessTokenFromSharedPreferences();
throw new SPiDKeychainException("UnsupportedEncodingException", e);
}
editor.commit();
}
public static SPiDAccessToken decryptAccessTokenFromSharedPreferences(String encryptionKey) {
Context context = SPiDClient.getInstance().getConfig().getContext();
SharedPreferences secure = context.getSharedPreferences(context.getPackageName() + ".sdk", Context.MODE_PRIVATE);
if (secure.contains("access_token")) {
