commit | d2a7ec7e08599fd649cec31c091c3a2b91f78de7 | [log] [tgz] |
---|---|---|
author | Girish <girishshetty@google.com> | Thu Feb 08 22:23:30 2024 +0000 |
committer | Girish <girishshetty@google.com> | Wed Feb 14 03:33:34 2024 +0000 |
tree | 110944829b6b078f8bf00f17d5daa6035b2ce0a8 | |
parent | c6e81578d414ff173eb8da5fe0202721ad3b4cb3 [diff] |
media: replace CHECK with parameter validation This change replaces CHECK (which aborts the mediaserver upon failure) with validation and return with error code upon failure. Also, deprecated getService is replaced with waitForService Bug: 323920490 Test: atest android.media.recorder.cts.MediaRecorderTest Change-Id: I28f45ad07b27b60a60b98f14833c057f7d1da235