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

Commit f03fa75c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents be851a2a 6d663b07
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);

    }

    /**