Merge "Use stable layouts for keyguard/SlidingChallengeLayout" into jb-mr1-lockscreen-dev
This commit is contained in:
@@ -78,6 +78,8 @@ public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayo
|
||||
|
||||
final Resources res = getResources();
|
||||
mDisplayMetrics = res.getDisplayMetrics();
|
||||
|
||||
setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -260,6 +260,7 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
|
||||
mChallengeBottomBound = res.getDimensionPixelSize(R.dimen.kg_widget_pager_bottom_padding);
|
||||
|
||||
setWillNotDraw(false);
|
||||
setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
}
|
||||
|
||||
public void setHandleAlpha(float alpha) {
|
||||
|
||||
Reference in New Issue
Block a user