Merge "Unregister configuration listener after the WindowProcessController was disallowed to be overridden." am: e563bef9fd am: 303b28a9c6 am: d2994c166d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1839893 Change-Id: Ic1c232c628c818d3d24159addb8f3e50bd6d430e
This commit is contained in:
@@ -1547,7 +1547,9 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio
|
|||||||
// activity as it could lead to incorrect display metrics. For ex, IME services
|
// 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
|
// expect their config to match the config of the display with the IME window
|
||||||
// showing.
|
// showing.
|
||||||
|
// If the configuration has been overridden by previous activity, empty it.
|
||||||
mIsActivityConfigOverrideAllowed = false;
|
mIsActivityConfigOverrideAllowed = false;
|
||||||
|
unregisterActivityConfigurationListener();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user