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

Commit e9bfc9c4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add unregisterClient in instance close." into sc-dev am: f03fa75c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15238310

Change-Id: Ife012a9ea75925469456e543341c0bfa34187c3b
parents 3a985808 f03fa75c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -347,7 +347,6 @@ public class Tuner implements AutoCloseable {
            mHandler = createEventHandler();
        }

        mHandler = createEventHandler();
        int[] clientId = new int[1];
        ResourceClientProfile profile = new ResourceClientProfile();
        profile.tvInputSessionId = tvInputSessionId;
@@ -516,6 +515,8 @@ public class Tuner implements AutoCloseable {
            mDemuxHandle = null;
        }

        mTunerResourceManager.unregisterClientProfile(mClientId);

    }

    /**