summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-07-07 09:17:41 -0700
committerAndreas Huber <andih@google.com>2010-07-07 09:27:31 -0700
commit11cc270ac5fd522c9e6491a7933516a96da4f62e (patch)
tree3c914ff40df97e4a64a1635ca2965bd2e0abd4f6 /include
parent3ecb233c9c121af3e68ece11705043b1dbef505b (diff)
downloadframeworks_av-11cc270ac5fd522c9e6491a7933516a96da4f62e.zip
frameworks_av-11cc270ac5fd522c9e6491a7933516a96da4f62e.tar.gz
frameworks_av-11cc270ac5fd522c9e6491a7933516a96da4f62e.tar.bz2
ALooperRoster no longer holds strong references to handlers and loopers.
Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/foundation/ALooperRoster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/stagefright/foundation/ALooperRoster.h b/include/media/stagefright/foundation/ALooperRoster.h
index 8f6316e..c1bd4ed 100644
--- a/include/media/stagefright/foundation/ALooperRoster.h
+++ b/include/media/stagefright/foundation/ALooperRoster.h
@@ -38,8 +38,8 @@ struct ALooperRoster {
private:
struct HandlerInfo {
- sp<ALooper> mLooper;
- sp<AHandler> mHandler;
+ wp<ALooper> mLooper;
+ wp<AHandler> mHandler;
};
Mutex mLock;