Fix persistence bug with toggle actions
Test: manual Fixes: 149488941 Change-Id: I37e40772b09a054fd6a98473a740112401abaf40
This commit is contained in:
@@ -513,7 +513,11 @@ public class NotificationConversationInfo extends LinearLayout implements
|
||||
|
||||
@Override
|
||||
public boolean shouldBeSaved() {
|
||||
return mSelectedAction > -1;
|
||||
// Toggle actions are already saved by the time the guts are closed; save for any other
|
||||
// taps
|
||||
return mSelectedAction > -1
|
||||
&& mSelectedAction != ACTION_FAVORITE
|
||||
&& mSelectedAction != ACTION_MUTE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user