Merge "Unregister configuration listener after the WindowProcessController was disallowed to be overridden." am: e563bef9fd am: 303b28a9c6 am: d2994c166d am: e0a2459ced am: 09282b3d87

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1839893

Change-Id: I16704b3a6f0ae9dc7751ab3146fd40d95f186eee
This commit is contained in:
Chris Li
2021-10-23 02:42:54 +00:00
committed by Automerger Merge Worker

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;