Merge "Prevent swipe-to-dismiss conversation header" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e91a027e67
@@ -6539,7 +6539,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
|
|||||||
return row.canViewBeDismissed();
|
return row.canViewBeDismissed();
|
||||||
}
|
}
|
||||||
if (v instanceof PeopleHubView) {
|
if (v instanceof PeopleHubView) {
|
||||||
return true;
|
return ((PeopleHubView) v).getCanSwipe();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class PeopleHubView(context: Context, attrs: AttributeSet) :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var canSwipe: Boolean = true
|
var canSwipe: Boolean = false
|
||||||
set(value) {
|
set(value) {
|
||||||
if (field != value) {
|
if (field != value) {
|
||||||
if (field) {
|
if (field) {
|
||||||
|
|||||||
Reference in New Issue
Block a user