commit | c8dd41c27adcede2543464c9d1bca5c485ae26e3 | [log] [tgz] |
---|---|---|
author | Sham Rathod <sham.rathod@ittiam.com> | Wed Nov 29 19:30:43 2023 +0530 |
committer | Sham Rathod <sham.rathod@ittiam.com> | Wed Nov 29 19:37:47 2023 +0530 |
tree | bb0e3cba8540dd54f4aaf498be98db98cd244f50 | |
parent | 34e3f2c44c8c16792a834144f6175aa54f74bab7 [diff] |
MediaCas : replace getService() with waitForDeclaredService() When MediaCas service is configured to be launched as a lazy service, getService() fails since it does not launch a service that is not already running (which is the case with lazy services). Change the call to waitForDeclaredService() which attempts to launch a service if not already running. Test: atest MediaCasTest Bug: 301834444 Change-Id: I2c50bd8485719da4d77e1862e93129a66c102e83