summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-11-12 14:02:52 -0800
committerCraig Mautner <cmautner@google.com>2013-11-12 14:02:52 -0800
commit5d9f547720e07a2715d34320a9e11004654cede6 (patch)
treecb8b2477167e7bd4840ae1c8894e204072702162 /tools/layoutlib/bridge/src
parentc481a634f4db6e95bc03b22b72414ba12da99f4b (diff)
downloadframeworks_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 'tools/layoutlib/bridge/src')
-rw-r--r--tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java b/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java
index fd153af..dd2cbc1 100644
--- a/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java
+++ b/tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java
@@ -81,7 +81,7 @@ public class IWindowManagerImpl implements IWindowManager {
@Override
public void addAppToken(int arg0, IApplicationToken arg1, int arg2, int arg3, int arg4,
- boolean arg5, boolean arg6, int arg7)
+ boolean arg5, boolean arg6, int arg7, int arg8)
throws RemoteException {
// TODO Auto-generated method stub