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