summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-05-13 20:54:12 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 20:54:12 +0000
commit964023c5dcd0334cdcf624eff26d791d9c9617a8 (patch)
tree58a332dfd82f3aea3936e8cad203b9f2f7a8ceb0 /tools
parentc1847b54a391857f0871a15e97fbaae0fef0ff33 (diff)
parent8bf73eae6c98532c8a597b885b948b9878555441 (diff)
downloadframeworks_base-964023c5dcd0334cdcf624eff26d791d9c9617a8.zip
frameworks_base-964023c5dcd0334cdcf624eff26d791d9c9617a8.tar.gz
frameworks_base-964023c5dcd0334cdcf624eff26d791d9c9617a8.tar.bz2
am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev
* commit '8bf73eae6c98532c8a597b885b948b9878555441': Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
index 0af14dd..5e3e907 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
@@ -183,6 +183,8 @@ public class RenderSessionImpl extends RenderAction<SessionParams> {
SessionParams params = getParams();
BridgeContext context = getContext();
+ context.getIWindowManager().setHasNavBar(params.getHardwareConfig().hasSoftwareButtons());
+
RenderResources resources = getParams().getResources();
DisplayMetrics metrics = getContext().getMetrics();