summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-05-13 21:18:03 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 21:18:03 +0000
commitfcfb8801b27fd40ff27c380b8bad9b9a210effca (patch)
treed2a2f757c84965a0d919151442b713f7f2d6a73f /tools
parent6fd1703eb96669bb5c985c9de8d08107e800824c (diff)
parent18b1525ac7666933befd6085461391ad1087b19a (diff)
downloadframeworks_base-fcfb8801b27fd40ff27c380b8bad9b9a210effca.zip
frameworks_base-fcfb8801b27fd40ff27c380b8bad9b9a210effca.tar.gz
frameworks_base-fcfb8801b27fd40ff27c380b8bad9b9a210effca.tar.bz2
am 18b1525a: am ef24a509: am 900954e3: am 2100476a: am 31a3760a: am 964023c5: am 8bf73eae: am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev
* commit '18b1525ac7666933befd6085461391ad1087b19a': 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();