Merge "Fix focusable on entire notification area if QS is expanded" into pi-dev
This commit is contained in:
@@ -2222,7 +2222,7 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
}
|
||||
|
||||
private void updateScrollability() {
|
||||
boolean scrollable = getScrollRange() > 0;
|
||||
boolean scrollable = !mQsExpanded && getScrollRange() > 0;
|
||||
if (scrollable != mScrollable) {
|
||||
mScrollable = scrollable;
|
||||
setFocusable(scrollable);
|
||||
@@ -4500,6 +4500,7 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
public void setQsExpanded(boolean qsExpanded) {
|
||||
mQsExpanded = qsExpanded;
|
||||
updateAlgorithmLayoutMinHeight();
|
||||
updateScrollability();
|
||||
}
|
||||
|
||||
public void setQsExpansionFraction(float qsExpansionFraction) {
|
||||
|
||||
Reference in New Issue
Block a user