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

Commit d8b978de authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Introduce ServiceImpl for MediaSessionService

Bug: 117115747
Test: pass MediaSessionTest and MediaControllerTest
Change-Id: I1e68159616df6bfcf23c62963f7606a9f04cbe77
parent 38421787
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
    private final ControllerStub mController;
    private final SessionStub mSession;
    private final SessionCb mSessionCb;
    private final MediaSessionService mService;
    private final MediaSessionService.ServiceImpl mService;
    private final Context mContext;

    private final Object mLock = new Object();
@@ -120,7 +120,8 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
    private String mMetadataDescription;

    public MediaSessionRecord(int ownerPid, int ownerUid, int userId, String ownerPackageName,
            SessionCallbackLink cb, String tag, MediaSessionService service, Looper handlerLooper) {
            SessionCallbackLink cb, String tag, MediaSessionService.ServiceImpl service,
            Looper handlerLooper) {
        mOwnerPid = ownerPid;
        mOwnerUid = ownerUid;
        mUserId = userId;
+60 −2040

File changed.

Preview size limit exceeded, changes collapsed.

+2142 −0

File added.

Preview size limit exceeded, changes collapsed.