diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2020-08-11 16:58:31 +0100 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2020-08-19 11:11:03 +0100 |
commit | 4292708d0ed6b96d03e2ef781c8ec1ee74dc3eee (patch) | |
tree | 7c455b2ea3c29ebffb9b1eb36a36704baf1e899d /rs/java/android/renderscript/ProgramStore.java | |
parent | 501e75e878f91413f828f19a362e68d84ccc7e7e (diff) |
Replace redundant error code with a specific one
As discussed on b/163039465#comment3, it's not desirable to have two
distinct catch-all error bucket, where the difference is very subtle.
Opting to use STAGED_SESSION_CONFLICT which is more specific, but not
too specific. We can use this error is any scenarios where a staged
session interferes with installation of another staged session and
we have to fail one of them, e.g a staged session is blocking a
rollback or rollback will be causing API downgrade which will break
another staged session (b/163734200).
Bug: 163039465
Test: atest atest RollbackManagerHostTest#testRollbackFailsBlockingSessions
Test: atest StagedInstallTest
Change-Id: Ia05350024093cd537e8ced5ea02af5853620d6ef
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions