Merge "Remove ImsConfigTracker#onBindInput precondition" into tm-dev am: 2cb5152f97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17125583 Change-Id: I637b7be125d6d689a7235389bf3de435db670385
This commit is contained in:
@@ -63,8 +63,9 @@ public final class ImsConfigurationTracker {
|
||||
*/
|
||||
@MainThread
|
||||
public void onBindInput(@Nullable Resources resources) {
|
||||
Preconditions.checkState(mInitialized,
|
||||
"onBindInput can be called only after onInitialize().");
|
||||
if (!mInitialized) {
|
||||
return;
|
||||
}
|
||||
if (mLastKnownConfig == null && resources != null) {
|
||||
mLastKnownConfig = new Configuration(resources.getConfiguration());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user