diff options
Diffstat (limited to 'aidl/android/gsi/IGsiService.aidl')
-rw-r--r-- | aidl/android/gsi/IGsiService.aidl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/aidl/android/gsi/IGsiService.aidl b/aidl/android/gsi/IGsiService.aidl index 8a0201d..4ffdf62 100644 --- a/aidl/android/gsi/IGsiService.aidl +++ b/aidl/android/gsi/IGsiService.aidl @@ -172,4 +172,13 @@ interface IGsiService { * @return 0 on success, an error code on failure. */ int beginGsiInstall(in GsiInstallParams params); + + /** + * Wipe the userdata of an existing GSI install. This will not work if the + * GSI is currently running. The userdata image will not be removed, but the + * first block will be zeroed ensuring that the next GSI boot formats /data. + * + * @return 0 on success, an error code on failure. + */ + int wipeGsiUserdata(); } |