Added a comment. For later Android versions we will need some extra security stuff here, see:
http://android-developers.blogspot.co.uk/2013/02/security-enhancements-in-jelly-bean.html