Merge "QS: Remove listeners only if added" am: bede96729c
am: a8e8f1c9f6
Change-Id: Id8211c9683230ee5cbf1bc7497f5e7d879116d56
This commit is contained in:
@@ -312,7 +312,9 @@ public abstract class QSTile<TState extends State> {
|
||||
protected abstract void setListening(boolean listening);
|
||||
|
||||
protected void handleDestroy() {
|
||||
setListening(false);
|
||||
if (mListeners.size() != 0) {
|
||||
setListening(false);
|
||||
}
|
||||
mCallbacks.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user