Set correct accessibility delegate for the overview mode.

b/32004538

Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
This commit is contained in:
Hyunyoung Song 2016-10-07 14:19:30 -07:00
parent 1ee2db14e0
commit eb205af09f
1 changed files with 5 additions and 0 deletions

View File

@ -142,6 +142,11 @@ public class PageIndicatorLineCaret extends PageIndicator {
mLauncher.setAllAppsButton(mAllAppsHandle);
}
@Override
public void setAccessibilityDelegate(AccessibilityDelegate delegate) {
mAllAppsHandle.setAccessibilityDelegate(delegate);
}
@Override
protected void onDraw(Canvas canvas) {
if (mTotalScroll == 0 || mNumPagesFloat == 0) {