From 55668c1a49fdb34b2ffee071da9d9ac7dd1a5a9e Mon Sep 17 00:00:00 2001 From: Yo Chiang Date: Thu, 20 Aug 2020 19:43:28 +0800 Subject: Check error status after installing each DSU partition Add DynamicSystemManager.closePartition() that closes a partition installation and returns its error status. InstallationAsyncTask may call this method to do error checking. Bug: 165471299 Test: Observe the logcat of a failed DSU installation Change-Id: I9d155c70c6e490899a4acfd35c8096549af005d4 --- .../src/com/android/dynsystem/InstallationAsyncTask.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/DynamicSystemInstallationService') diff --git a/packages/DynamicSystemInstallationService/src/com/android/dynsystem/InstallationAsyncTask.java b/packages/DynamicSystemInstallationService/src/com/android/dynsystem/InstallationAsyncTask.java index f8952ace3cb3..4d31ce97e8b7 100644 --- a/packages/DynamicSystemInstallationService/src/com/android/dynsystem/InstallationAsyncTask.java +++ b/packages/DynamicSystemInstallationService/src/com/android/dynsystem/InstallationAsyncTask.java @@ -334,6 +334,11 @@ class InstallationAsyncTask extends AsyncTask