Merge "Fix violation in DecorContext"

This commit is contained in:
Charles Chen
2022-08-16 14:53:14 +00:00
committed by Android (Google) Code Review

View File

@@ -137,4 +137,13 @@ public class DecorContext extends ContextThemeWrapper {
}
return false;
}
@Override
public boolean isConfigurationContext() {
Context context = mContext.get();
if (context != null) {
return context.isConfigurationContext();
}
return false;
}
}