commit | 5df00bb4dc9ab0fbc7c9c8c25cce43d4a64db311 | [log] [tgz] |
---|---|---|
author | Kyle Zhang <kelzhan@google.com> | Wed Nov 20 21:47:44 2024 +0000 |
committer | Kyle Zhang <kelzhan@google.com> | Wed Nov 20 22:57:45 2024 +0000 |
tree | 945081cf3f47b0620dc372c99800cdedd07e8ec5 | |
parent | ac5f493519a7e79487bddd4e43df5b1a2dc81956 [diff] |
Fix getSupportedSchemes() in DrmHal.cpp The original code returns the status of the first call to getSupportedSchemes() and ignores the status of the second call. This is incorrect because the second call may succeed even if the first call fails. The correct behavior is to return OK if either call succeeds, and to return the status of the first call if both calls fail. Flag: EXEMPT bugfix Bug: 380122010 Change-Id: I46054f93ec434d2c25943c3b02024f21397e3d0b