QS Header: post some updates to the header

These sometimes trigger binder calls, that can cause jank on the
first frame of expanding the panel.

Bug: 30442298
Change-Id: Id60fd5ee9732515cd6f9645c7ab307c949dfc506
This commit is contained in:
Jason Monk
2016-08-03 10:25:42 -04:00
parent d8fb07f534
commit 9c74ff1218

View File

@@ -256,8 +256,10 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
@Override @Override
public void updateEverything() { public void updateEverything() {
post(() -> {
updateVisibilities(); updateVisibilities();
setClickable(false); setClickable(false);
});
} }
protected void updateVisibilities() { protected void updateVisibilities() {