summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-05-13 21:43:52 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 21:43:52 +0000
commite3950823b6126e16158d3c969c2bdd6d914b22dc (patch)
tree918aa76472024fbb17244a131096e2948158dc63 /tools
parent004bfbd36acff3d16979b4021630d19d1df6d826 (diff)
parent465a99260ea1d868e9aa43d08e63cb85892f188e (diff)
downloadframeworks_base-e3950823b6126e16158d3c969c2bdd6d914b22dc.zip
frameworks_base-e3950823b6126e16158d3c969c2bdd6d914b22dc.tar.gz
frameworks_base-e3950823b6126e16158d3c969c2bdd6d914b22dc.tar.bz2
am 465a9926: am 21dc46b1: am 569dc64c: am 69ab5946: am fcfb8801: 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 '465a99260ea1d868e9aa43d08e63cb85892f188e': 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 9787432..c55028b 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();