Control SystemUI flags depending on swipe-up progress
Test: Swipe up on light nav/status bar app. Bug: 73498721 Change-Id: I65805e3b6ad588c3f50fcf8b11d8f2417e35f9ea
This commit is contained in:
1 parent
3c0c818970
commit
35208bbf04
1 file changed
+6
@@ -606,6 +606,12 @@ public class WindowTransformSwipeHandler extends BaseSwipeInteractionHandler {
|
||||
mTargetRect.offset(offsetX, 0);
|
||||
}
|
||||
}
|
||||
if (mRecentsAnimationWrapper.controller != null) {
|
||||
|
||||
// TODO: This logic is spartanic!
|
||||
mRecentsAnimationWrapper.controller.setAnimationTargetsBehindSystemBars(
|
||||
shift < 0.12f);
|
||||
}
|
||||
};
|
||||
if (Looper.getMainLooper() == Looper.myLooper()) {
|
||||
runOnUi.run();
|
||||
|
||||
Reference in new issue
Block a user