diff options
author | Craig Mautner <cmautner@google.com> | 2013-11-12 14:02:52 -0800 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2013-11-12 14:02:52 -0800 |
commit | 5d9f547720e07a2715d34320a9e11004654cede6 (patch) | |
tree | cb8b2477167e7bd4840ae1c8894e204072702162 /core/java/android/view/IWindowManager.aidl | |
parent | c481a634f4db6e95bc03b22b72414ba12da99f4b (diff) | |
download | frameworks_base-5d9f547720e07a2715d34320a9e11004654cede6.zip frameworks_base-5d9f547720e07a2715d34320a9e11004654cede6.tar.gz frameworks_base-5d9f547720e07a2715d34320a9e11004654cede6.tar.bz2 |
Relayout windows that handle their own config change.
If a window claims to handle its own configuration change then we
won't destroy and recreate its window on a configuration change.
Normally that recreation triggers the first layout following
orientation change because mHaveFrame is false. Windows that handle
their own configuration changes never got a relayout pass following a
change in orientation.
This change passes the configuration changes that an application
handles into the AppWindowToken. If the app says it handles
orientation or screen size changes then a relayout will occur when the
configuration has changed.
Fixes bug 11647107.
Change-Id: Ie8d49fd050442ebbdcf0b805087894e3a2fc4be9
Diffstat (limited to 'core/java/android/view/IWindowManager.aidl')
-rw-r--r-- | core/java/android/view/IWindowManager.aidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl index 1b76cb1..c92a104 100644 --- a/core/java/android/view/IWindowManager.aidl +++ b/core/java/android/view/IWindowManager.aidl @@ -78,7 +78,8 @@ interface IWindowManager void addWindowToken(IBinder token, int type); void removeWindowToken(IBinder token); void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId, - int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId); + int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId, + int configChanges); void setAppGroupId(IBinder token, int groupId); void setAppOrientation(IApplicationToken token, int requestedOrientation); int getAppOrientation(IApplicationToken token); |