Merge "Add unregisterClient in instance close." into sc-dev am: f03fa75cc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15238310 Change-Id: I3a73b621e2f9670c63e988f2ce36fb23740584d2
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user