Merge "Redirect shelf height requests into keep clear area registration" into udc-qpr-dev am: c24e6e0198
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24171662 Change-Id: Ic290b610f534024e173b29d062fd1632b700e407 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -939,6 +939,11 @@ public class PipController implements PipTransitionController.PipTransitionCallb
|
|||||||
* Sets both shelf visibility and its height.
|
* Sets both shelf visibility and its height.
|
||||||
*/
|
*/
|
||||||
private void setShelfHeight(boolean visible, int height) {
|
private void setShelfHeight(boolean visible, int height) {
|
||||||
|
if (mEnablePipKeepClearAlgorithm) {
|
||||||
|
// turn this into Launcher keep clear area registration instead
|
||||||
|
setLauncherKeepClearAreaHeight(visible, height);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!mIsKeyguardShowingOrAnimating) {
|
if (!mIsKeyguardShowingOrAnimating) {
|
||||||
setShelfHeightLocked(visible, height);
|
setShelfHeightLocked(visible, height);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user