manifest: restore application references and Android values (enums, flags)