diff options
author | Marco Nelissen <marcone@google.com> | 2014-11-17 18:14:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-11-17 18:14:27 +0000 |
commit | 9b77083e582a8b6088ac6a2cb4151dfbdd324557 (patch) | |
tree | 76d92b7a91a4bebd4e84d6afdc2ef4a2e4943df8 /services/audioflinger | |
parent | d02641098b16df2fd4cd32b72a30eb6f3b64e12b (diff) | |
parent | f888020c6e2735624f2b2a30e72aca24e17b8b4d (diff) | |
download | frameworks_av-9b77083e582a8b6088ac6a2cb4151dfbdd324557.zip frameworks_av-9b77083e582a8b6088ac6a2cb4151dfbdd324557.tar.gz frameworks_av-9b77083e582a8b6088ac6a2cb4151dfbdd324557.tar.bz2 |
Merge "Update calls to IInterface::asBinder()"
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 2 | ||||
-rw-r--r-- | services/audioflinger/Threads.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index e48af20..c571cf5 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -1187,7 +1187,7 @@ void AudioFlinger::registerClient(const sp<IAudioFlingerClient>& client) mNotificationClients.add(pid, notificationClient); - sp<IBinder> binder = client->asBinder(); + sp<IBinder> binder = IInterface::asBinder(client); binder->linkToDeath(notificationClient); clientAdded = true; } diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index e443476..ed8293d 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -338,7 +338,7 @@ AudioFlinger::ThreadBase::~ThreadBase() // do not lock the mutex in destructor releaseWakeLock_l(); if (mPowerManager != 0) { - sp<IBinder> binder = mPowerManager->asBinder(); + sp<IBinder> binder = IInterface::asBinder(mPowerManager); binder->unlinkToDeath(mDeathRecipient); } } |