Fix recents on crespo
This commit is contained in:
@@ -134,7 +134,9 @@ import android.view.View;
|
||||
|
||||
void jumpTo(boolean appearing) {
|
||||
mContentView.setTranslationY(appearing ? 0 : mPanelHeight);
|
||||
mScrimView.getBackground().setAlpha(appearing ? 255 : 0);
|
||||
if (mScrimView.getBackground() != null) {
|
||||
mScrimView.getBackground().setAlpha(appearing ? 255 : 0);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPanelHeight(int h) {
|
||||
|
||||
@@ -239,6 +239,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
|
||||
|
||||
public void show(boolean show, boolean animate) {
|
||||
if (show) {
|
||||
refreshRecentTasksList(null, true);
|
||||
mWaitingToShow = true;
|
||||
mWaitingToShowAnimated = animate;
|
||||
showIfReady();
|
||||
|
||||
Reference in New Issue
Block a user