diff options
author | Marco Nelissen <marcone@google.com> | 2014-11-14 07:58:25 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2014-11-17 10:05:07 -0800 |
commit | f888020c6e2735624f2b2a30e72aca24e17b8b4d (patch) | |
tree | 76d92b7a91a4bebd4e84d6afdc2ef4a2e4943df8 /services/camera/libcameraservice/api_pro | |
parent | d02641098b16df2fd4cd32b72a30eb6f3b64e12b (diff) | |
download | frameworks_av-f888020c6e2735624f2b2a30e72aca24e17b8b4d.zip frameworks_av-f888020c6e2735624f2b2a30e72aca24e17b8b4d.tar.gz frameworks_av-f888020c6e2735624f2b2a30e72aca24e17b8b4d.tar.bz2 |
Update calls to IInterface::asBinder()
to use the new static version.
Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
Conflicts:
media/libmedia/IAudioFlinger.cpp
media/libmedia/IMediaPlayer.cpp
media/libstagefright/CameraSource.cpp
Diffstat (limited to 'services/camera/libcameraservice/api_pro')
-rw-r--r-- | services/camera/libcameraservice/api_pro/ProCamera2Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp b/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp index 9c8f0f4..59e5083 100644 --- a/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp +++ b/services/camera/libcameraservice/api_pro/ProCamera2Client.cpp @@ -276,7 +276,7 @@ status_t ProCamera2Client::createStream(int width, int height, int format, sp<IBinder> binder; sp<ANativeWindow> window; if (bufferProducer != 0) { - binder = bufferProducer->asBinder(); + binder = IInterface::asBinder(bufferProducer); window = new Surface(bufferProducer); } @@ -335,7 +335,7 @@ status_t ProCamera2Client::dump(int fd, const Vector<String16>& args) { result.appendFormat("ProCamera2Client[%d] (%p) PID: %d, dump:\n", mCameraId, (getRemoteCallback() != NULL ? - getRemoteCallback()->asBinder().get() : NULL), + IInterface::asBinder(getRemoteCallback()).get() : NULL), mClientPid); result.append(" State:\n"); write(fd, result.string(), result.size()); |