Merge "Prevent uninstalling the device management role" into tm-qpr-dev