Merge "Unregister configuration listener after the WindowProcessController was disallowed to be overridden." into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-10-27 15:30:56 +00:00
committed by Android (Google) Code Review

View File

@@ -1559,7 +1559,9 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio
// activity as it could lead to incorrect display metrics. For ex, IME services
// expect their config to match the config of the display with the IME window
// showing.
// If the configuration has been overridden by previous activity, empty it.
mIsActivityConfigOverrideAllowed = false;
unregisterActivityConfigurationListener();
break;
default:
break;