summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/stream.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-09-15 12:42:32 -0700
committerAndreas Huber <andih@google.com>2011-09-20 10:37:18 -0700
commit93d5ab693626fa2700375e838e4bb90e4d50e605 (patch)
treeb61248326ac11a89534e8bf58375ad38301378d7 /cmds/stagefright/stream.cpp
parentad8e8bfea2da077248a9f217c029e14fefb01096 (diff)
downloadframeworks_av-93d5ab693626fa2700375e838e4bb90e4d50e605.zip
frameworks_av-93d5ab693626fa2700375e838e4bb90e4d50e605.tar.gz
frameworks_av-93d5ab693626fa2700375e838e4bb90e4d50e605.tar.bz2
Properly connect to surface flinger in our shell tools
Also raise the layer to INT_MAX to float in front of the toolbar. Change-Id: I045a1c83924e6655f1734d15f2504b90312eec64
Diffstat (limited to 'cmds/stagefright/stream.cpp')
-rw-r--r--cmds/stagefright/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stream.cpp b/cmds/stagefright/stream.cpp
index b13236a..2378345 100644
--- a/cmds/stagefright/stream.cpp
+++ b/cmds/stagefright/stream.cpp
@@ -323,7 +323,7 @@ int main(int argc, char **argv) {
CHECK(control->isValid());
SurfaceComposerClient::openGlobalTransaction();
- CHECK_EQ(control->setLayer(30000), (status_t)OK);
+ CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
CHECK_EQ(control->show(), (status_t)OK);
SurfaceComposerClient::closeGlobalTransaction();