* Set aosp key * @returns {Promise }
()
| 183 | * @returns {Promise<void>} |
| 184 | */ |
| 185 | async function aospkb() { |
| 186 | const { stdout } = await exec(`xxd -r -p ${basePath}/common/.default | base64 -d`); |
| 187 | const result = await setKeybox(stdout); |
| 188 | showPrompt(getString(result ? "prompt_aosp_key_set" : "prompt_key_set_error"), result); |
| 189 | } |
| 190 | |
| 191 | // aosp kb eventlistener |
| 192 | document.getElementById("aospkb").onclick = aospkb; |
nothing calls this directly
no test coverage detected