Merge "Prevent swipe-to-dismiss conversation header" into rvc-dev am: e91a027e67

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820083

Change-Id: I3e45cb425ab7b2c661e1b130caff40bb4b5d4acd
This commit is contained in:
TreeHugger Robot
2020-06-10 19:23:30 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -6539,7 +6539,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
return row.canViewBeDismissed();
}
if (v instanceof PeopleHubView) {
return true;
return ((PeopleHubView) v).getCanSwipe();
}
return false;
}

View File

@@ -72,7 +72,7 @@ class PeopleHubView(context: Context, attrs: AttributeSet) :
}
}
var canSwipe: Boolean = true
var canSwipe: Boolean = false
set(value) {
if (field != value) {
if (field) {