summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-05-13 21:07:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 21:07:40 +0000
commitef24a5091b63fb512d4ca9eb34df6394c3842d33 (patch)
tree9f0656aa265f819db9090e2b2cc79f6891744bee /tools/layoutlib
parent4dff881b997e3e8c871068ae4b237a9e0f4ab2e7 (diff)
parent900954e3cd135bf43db975961056e7661f26a6c6 (diff)
downloadframeworks_base-ef24a5091b63fb512d4ca9eb34df6394c3842d33.zip
frameworks_base-ef24a5091b63fb512d4ca9eb34df6394c3842d33.tar.gz
frameworks_base-ef24a5091b63fb512d4ca9eb34df6394c3842d33.tar.bz2
am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev
* commit '900954e3cd135bf43db975961056e7661f26a6c6': Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
Diffstat (limited to 'tools/layoutlib')
-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();