Loading core/jni/android_view_SurfaceControlActivePictureListener.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -106,11 +106,13 @@ struct SurfaceControlActivePictureListener : public gui::BnActivePictureListener } status_t startListening() { return SurfaceComposerClient::addActivePictureListener(this); return SurfaceComposerClient::addActivePictureListener( sp<SurfaceControlActivePictureListener>::fromExisting(this)); } status_t stopListening() { return SurfaceComposerClient::removeActivePictureListener(this); return SurfaceComposerClient::removeActivePictureListener( sp<SurfaceControlActivePictureListener>::fromExisting(this)); } protected: Loading Loading
core/jni/android_view_SurfaceControlActivePictureListener.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -106,11 +106,13 @@ struct SurfaceControlActivePictureListener : public gui::BnActivePictureListener } status_t startListening() { return SurfaceComposerClient::addActivePictureListener(this); return SurfaceComposerClient::addActivePictureListener( sp<SurfaceControlActivePictureListener>::fromExisting(this)); } status_t stopListening() { return SurfaceComposerClient::removeActivePictureListener(this); return SurfaceComposerClient::removeActivePictureListener( sp<SurfaceControlActivePictureListener>::fromExisting(this)); } protected: Loading