Merge "Stop controller from steal preference clicks" into rvc-dev

This commit is contained in:
Julia Reynolds
2020-02-26 04:32:52 +00:00
committed by Android (Google) Code Review
2 changed files with 19 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ public class ConversationPromotePreferenceController extends NotificationPrefere
@Override
public boolean handlePreferenceTreeClick(Preference preference) {
if (mChannel == null) {
if (mChannel == null || !KEY.equals(preference.getKey())) {
return false;
}
mChannel.setDemoted(false);