Merge "Allow LNB to be opened before Frontend" into tm-dev am: 9dd35d01f8 am: 42094ae71b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18635147 Change-Id: Idc732190ae6be8c060251bf32f95815d033aeccb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2163,7 +2163,9 @@ public class Tuner implements AutoCloseable {
|
|||||||
if (checkResource(TunerResourceManager.TUNER_RESOURCE_TYPE_LNB, mLnbLock)
|
if (checkResource(TunerResourceManager.TUNER_RESOURCE_TYPE_LNB, mLnbLock)
|
||||||
&& mLnb != null) {
|
&& mLnb != null) {
|
||||||
mLnb.setCallbackAndOwner(this, executor, cb);
|
mLnb.setCallbackAndOwner(this, executor, cb);
|
||||||
setLnb(mLnb);
|
if (mFrontendHandle != null && mFrontend != null) {
|
||||||
|
setLnb(mLnb);
|
||||||
|
}
|
||||||
return mLnb;
|
return mLnb;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@@ -2197,7 +2199,9 @@ public class Tuner implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
mLnb = newLnb;
|
mLnb = newLnb;
|
||||||
mLnb.setCallbackAndOwner(this, executor, cb);
|
mLnb.setCallbackAndOwner(this, executor, cb);
|
||||||
setLnb(mLnb);
|
if (mFrontendHandle != null && mFrontend != null) {
|
||||||
|
setLnb(mLnb);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return mLnb;
|
return mLnb;
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user