Clean up usage on deprecated GSID methods
change: Add a oneShot argument to setEnable
remove: commit() and replace it with enableGsi
rename: removeGsiInstall -> removeGsi
rename: disableGsiInstall -> disableGsi
Bug: 138969329
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system.raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Change-Id: I680013c8b1181599f0b858222bd92e31c5f085fd
Merged-In: I680013c8b1181599f0b858222bd92e31c5f085fd
4 files changed