Prevent swipe-to-dismiss conversation header

Fixes: 157712434
Test: manual
Change-Id: I2115216555b94f63518c25a1e382bef84d2447ff
This commit is contained in:
Steve Elliott
2020-06-10 12:04:55 -04:00
parent 275248ddfe
commit 5cdecb80b9
2 changed files with 2 additions and 2 deletions

View File

@@ -6538,7 +6538,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) {