I'm trying to figure out in every possible way how to target this leak
that specifically happens when I registerCallback to my service aidl
callback class.
I even tried commenting out the callback register on the callback and
I still get the leak!
 /**
     * The IRemoteInterface is defined through IDL
     */
    private final IRemoteService.Stub mBinder = new
IRemoteService.Stub() {
        public void registerCallback(IRemoteServiceCallback cb) {
            if (cb != null) mCallbacks.register(cb);
        }
        public void unregisterCallback(IRemoteServiceCallback cb) {
            if (cb != null) mCallbacks.unregister(cb);
        }
    };

MY HEAD IS ABOUT TO EXPLODE!  I been trying so many things it's just
not working... Could it be an actual bug in Android?

Any help is apreciated!

On Mar 5, 11:15 am, James Wang <[email protected]> wrote:
> Have you read this 
> onehttp://developer.android.com/resources/articles/avoiding-memory-leaks...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to