Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c30dff8f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "MediaCas : replace getService() with waitForDeclaredService()" into main

parents f9abcbd4 c8dd41c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ public final class MediaCas implements AutoCloseable {
                        Log.d(TAG, "Trying to get AIDL service");
                        IMediaCasService serviceAidl =
                                IMediaCasService.Stub.asInterface(
                                        ServiceManager.getService(
                                        ServiceManager.waitForDeclaredService(
                                                IMediaCasService.DESCRIPTOR + "/default"));
                        if (serviceAidl != null) {
                            return serviceAidl;