* commit 'e1970346a43109a9bcf4037135425a918fc953d3': Use the correct method to check if device is encrypted