am e2e466e3
: Null out reference in onDestroy method
Merge commit 'e2e466e315f645d19b592d62dcf573c706175e17' * commit 'e2e466e315f645d19b592d62dcf573c706175e17': Null out reference in onDestroy method
This commit is contained in:
commit
c0010e2f97
@ -702,6 +702,7 @@ public class SyncManager extends Service implements Runnable {
|
||||
// Don't leak the Intent associated with this listener
|
||||
if (mAccountsUpdatedListener != null) {
|
||||
AccountManager.get(this).removeOnAccountsUpdatedListener(mAccountsUpdatedListener);
|
||||
mAccountsUpdatedListener = null;
|
||||
}
|
||||
|
||||
// Clear pending alarms
|
||||
|
Loading…
Reference in New Issue
Block a user