Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange error since upgrading to Android 4.2.2 - Activity has leaked IntentReceiver

I upgraded my Samsung Galaxy Tab 2 to Android 4.2.2 last night, and have since spotted some strange errors in LogCat which didn't appear before I 'upgraded'.

I was hoping that it was highlighting a hidden bug or memory leak in my application, but I can't find anything.

It seems to only occur if the activity I'm on has a Spinner, and that Spinner is expanded.

The error is as below.

Activity uk.co.xxxx.xxxx has leaked IntentReceiver com.immersion.android.haptics.HapticFeedbackManager$HapticFeedbackBroadcastReceiver@41e4bac0 that was originally registered here. Are you missing a call to unregisterReceiver()?

Has anyone else seen this? do you think it's safe to ignore as it's only occurring on one of my devices?

--- Edit ---

And, incidentally, I'm not registering any receivers anywhere, so there's nothing to unregister.

like image 795
Rich S Avatar asked Aug 19 '13 23:08

Rich S


1 Answers

I have the similar problem and I've asked this question on the Haptic developer's forum and received the following reply:

The exception you see is a harmless warning and the OS will take care of freeing the resources mentioned in the exception. In other words, no need to worry or do anything about it.

If you need any other details - go here

like image 181
validcat Avatar answered Oct 13 '22 03:10

validcat