From 3ee454a7bef8bd3d1c9cdd9d17108eb80ebadf2a Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 27 Aug 2012 16:28:24 -0700 Subject: Eradicate DisplayID. DisplayDevices are now keyed of the wp 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 --- services/surfaceflinger/Client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'services/surfaceflinger/Client.cpp') diff --git a/services/surfaceflinger/Client.cpp b/services/surfaceflinger/Client.cpp index b0f23305e3..c28254f6f0 100644 --- a/services/surfaceflinger/Client.cpp +++ b/services/surfaceflinger/Client.cpp @@ -140,9 +140,8 @@ sp Client::createSurface( } sp 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; } }; -- cgit v1.2.3-59-g8ed1b