clockwise
clockwise copied to clipboard
Switching between watchfaces causes Leaked Receiver exception
When switching between watchfaces, often causes an exception:
06-09 16:47:00.203 6048-6048/com.dexdrip.stephenblack.nightwatch E/ActivityThread﹕ Service com.dexdrip.stephenblack.nightwatch.LargeHome has leaked IntentReceiver android.support.wearable.watchface.WatchFaceService$Engine$1@371daab0 that was originally registered here. Are you missing a call to unregisterReceiver()?
My idea why this could happen: Every time, a Watchface gets instantiated, it creates a new Engine (Line 56)
Aparently "onCreate()" is called as it registers the Receiver (Line 281), but "onDestroy()" might be not..