Merge "Fix some jank in quick settings" into nyc-dev

This commit is contained in:
Jorim Jaggi
2016-04-11 19:08:06 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 0 deletions

View File

@@ -93,6 +93,12 @@ public class QSTileBaseView extends LinearLayout {
}
}
@Override
public boolean hasOverlappingRendering() {
// Avoid layers for this layout - we don't need them.
return false;
}
/**
* Update the accessibility order for this view.
*

View File

@@ -125,6 +125,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
// RenderThread is doing more harm than good when touching the header (to expand quick
// settings), so disable it for this view
((RippleDrawable) mSettingsButton.getBackground()).setForceSoftware(true);
((RippleDrawable) mExpandIndicator.getBackground()).setForceSoftware(true);
updateResources();
}