summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-02 19:24:17 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-02 19:24:17 +0200
commitb7def61d92368c71680fac59048a251b4f4d7d57 (patch)
treebfda475401b796d8446634ef2d17c5cb06f24664 /services
parent77561dae684892fc6977216621cb72b7be8bf64e (diff)
parente34afe0a4bd8092cca89a607c994124a9ddb28b9 (diff)
downloadframeworks_native-b7def61d92368c71680fac59048a251b4f4d7d57.zip
frameworks_native-b7def61d92368c71680fac59048a251b4f4d7d57.tar.gz
frameworks_native-b7def61d92368c71680fac59048a251b4f4d7d57.tar.bz2
Merge branch 'cm-13.0' of https://github.com/LineageOS/android_frameworks_native into replicant-6.0HEADreplicant-6.0-0001replicant-6.0
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 441bad8..941257c 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2249,8 +2249,7 @@ void SurfaceFlinger::setTransactionState(
if (s.client != NULL) {
sp<IBinder> binder = IInterface::asBinder(s.client);
if (binder != NULL) {
- String16 desc(binder->getInterfaceDescriptor());
- if (desc == ISurfaceComposerClient::descriptor) {
+ if (binder->queryLocalInterface(ISurfaceComposerClient::descriptor) != NULL) {
sp<Client> client( static_cast<Client *>(s.client.get()) );
transactionFlags |= setClientStateLocked(client, s.state);
}