diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/foundation/AWakeLock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/foundation/AWakeLock.cpp b/media/libstagefright/foundation/AWakeLock.cpp index 88c4f6e..d9277ac 100644 --- a/media/libstagefright/foundation/AWakeLock.cpp +++ b/media/libstagefright/foundation/AWakeLock.cpp @@ -36,7 +36,7 @@ AWakeLock::AWakeLock() : AWakeLock::~AWakeLock() { if (mPowerManager != NULL) { - sp<IBinder> binder = mPowerManager->asBinder(); + sp<IBinder> binder = IInterface::asBinder(mPowerManager); binder->unlinkToDeath(mDeathRecipient); } clearPowerManager(); |