summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-07-25 19:22:59 -0700
committerMathias Agopian <mathias@google.com>2012-07-25 20:38:27 -0700
commit92c6d2fc50ec2a33a2a990fe66cd70090eb461ca (patch)
treecb5238dfab2eaf2e7cbe6775415c30219533e204 /cmds
parentaa871b0ff0fb38112a1693e80e1146cecc5db21d (diff)
downloadframeworks_base-92c6d2fc50ec2a33a2a990fe66cd70090eb461ca.zip
frameworks_base-92c6d2fc50ec2a33a2a990fe66cd70090eb461ca.tar.gz
frameworks_base-92c6d2fc50ec2a33a2a990fe66cd70090eb461ca.tar.bz2
update to new getDisplayInfo API
Change-Id: I8051b4f9f23d3ef4791176de1bbcfafacae7d579
Diffstat (limited to 'cmds')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index 6b50486..2471a2e 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -217,7 +217,7 @@ status_t BootAnimation::readyToRun() {
mAssets.addDefaultAssets();
DisplayInfo dinfo;
- status_t status = session()->getDisplayInfo(0, &dinfo);
+ status_t status = SurfaceComposerClient::getDisplayInfo(0, &dinfo);
if (status)
return -1;