Handling orientation lock with manifest file.