summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Client.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-08-27 16:28:24 -0700
committerMathias Agopian <mathias@google.com>2012-08-27 17:43:43 -0700
commit3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a (patch)
tree008181467301126011532e5a7e7ac703b54c81d1 /services/surfaceflinger/Client.cpp
parenta50b51c03aca449920fc8581a738032a7bce7150 (diff)
downloadframeworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.zip
frameworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.tar.gz
frameworks_native-3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a.tar.bz2
Eradicate DisplayID.
DisplayDevices are now keyed of the wp<IBinder> the client uses. DisplayID has now become DisplayType which is just used to identify physical displays (as opposed to virtual displays such as wifi displays). Change-Id: I0c5968f2c902dcd699a7e0afacf833ff070c12ea
Diffstat (limited to 'services/surfaceflinger/Client.cpp')
-rw-r--r--services/surfaceflinger/Client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/surfaceflinger/Client.cpp b/services/surfaceflinger/Client.cpp
index b0f2330..c28254f 100644
--- a/services/surfaceflinger/Client.cpp
+++ b/services/surfaceflinger/Client.cpp
@@ -140,9 +140,8 @@ sp<ISurface> Client::createSurface(
}
sp<ISurface> getResult() const { return result; }
virtual bool handler() {
- // TODO don't require display id to create a layer
result = flinger->createLayer(params, name, client,
- ISurfaceComposer::eDisplayIdMain, w, h, format, flags);
+ w, h, format, flags);
return true;
}
};