[pm] return original error message for abi install failures

BUG: 179724723
Test: manual, using test apk from b/179072387
Change-Id: I795f6af05b1ed2c353d187d3a47ee8cb1ee5e0b6
This commit is contained in:
Songchun Fan
2021-03-02 02:40:50 +00:00
parent 9a2ae3ed4c
commit 52655fe011

View File

@@ -20090,7 +20090,7 @@ public class PackageManagerService extends IPackageManager.Stub
} catch (PackageManagerException pme) {
Slog.e(TAG, "Error deriving application ABI", pme);
throw new PrepareFailure(INSTALL_FAILED_INTERNAL_ERROR,
"Error deriving application ABI");
"Error deriving application ABI: " + pme.getMessage());
}
}