Add onMultiWindowModeChanged() for large screen device check config.

Split screen on large screen devices, like tablets, Activity may not be relaunched, then onResume will not be called. the reasons as follow:
1. CONFIG_SCREEN_LAYOUT will not change when split screen, (lrg->lrg)
2. There is no'Size Configurations' in the res/values of the test APP, such as values-h720dp, values-sw360dp, values-sw600dp, etc. So, in getConfigurationChanges(), WINDOW_CONFIGURATION|CONFIG_SCREEN_SIZE|CONFIG_SMALLEST_SCREEN_SIZE will be filtered out, resulting in 'changes' is 0.

Bug:190146530

Test: run cts-dev -m CtsWindowManagerDeviceTestCases -t android.server.wm.AppConfigurationTests#testSameConfigurationSplitFullSplitRelaunch
      run cts-dev -m CtsWindowManagerDeviceTestCases -t android.server.wm.AppConfigurationTests#testSameConfigurationFullSplitFullRelaunch

Signed-off-by: duanyangqi <duanyangqi@xiaomi.com>
Change-Id: I01775bcb06a73c643458e77eb65cd9fa91d81fee
(cherry picked from commit e26829c46bc922474433c4419cb6e6bd0223ce8b)
1 file changed