Unify context in ViewRoot
To fix the issue that mContext is not updated when moved to another display, we previously introduce mDisplayContext as a workaround in [1]. Change to use Context#updateDisplay(int) to unify mDisplayContext to mContext. [1]: Ifa0ca24e9cf764caf492ee065606680b6a06751a Bug: 116349163 Test: atest ActivityManagerMultiDisplayTests Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Test: atest InputMethodManagerTest Test: atest InsetsControllerTest Test: atest InsetsSourceConsumerTest Test: atest ImeInsetsSourceConsumerTest Test: atest CtsActivityManagerDeviceTestCases:MultiDisplayClientTests Change-Id: Ic2010e8b533caf01418e0deb8062b8ff597c5abc
Loading
Please register or sign in to comment