summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-05-13 10:44:24 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-05-13 10:44:24 -0700
commit0ad4f2cedde037c2b09a7f09c5f95f0984267c64 (patch)
tree64ff61592be9775746522821ad4b6f30ea15aaed /tools
parent5dae7fda38850a5146a6b8a4edbfd9aa96aea484 (diff)
parent7377c7be6abcb3bccabb6cdf2af0ecfed355606c (diff)
downloadframeworks_base-0ad4f2cedde037c2b09a7f09c5f95f0984267c64.zip
frameworks_base-0ad4f2cedde037c2b09a7f09c5f95f0984267c64.tar.gz
frameworks_base-0ad4f2cedde037c2b09a7f09c5f95f0984267c64.tar.bz2
resolved conflicts for merge of 7377c7be to jb-mr1-dev
Change-Id: I26d2e3478536826608413094e17cd36da43b4e23
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 28bc239..4329f5f 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
@@ -184,6 +184,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();