am fbdf4270: Fix inability to long press page indicators (issue 11136731)
* commit 'fbdf42703c02f27105e67776a022db2c080dd5db': Fix inability to long press page indicators (issue 11136731)
This commit is contained in:
@@ -350,7 +350,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
}
|
||||
|
||||
mPageIndicator.addMarkers(markers, mAllowPagedViewAnimations);
|
||||
mPageIndicator.setOnClickListener(getPageIndicatorClickListener());
|
||||
|
||||
OnClickListener listener = getPageIndicatorClickListener();
|
||||
if (listener != null) {
|
||||
mPageIndicator.setOnClickListener(listener);
|
||||
}
|
||||
mPageIndicator.setContentDescription(getPageIndicatorDescription());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user