Merge "Add a method to trigger the navigation bar animation in system" into sc-dev am: 433c1d8a10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14879192 Change-Id: I01bf8ae9bc270abd2e389837e1e140bf8c47dccd
This commit is contained in:
@@ -152,4 +152,15 @@ public class RecentsAnimationControllerCompat {
|
|||||||
Log.e(TAG, "Failed to detach the navigation bar from app", e);
|
Log.e(TAG, "Failed to detach the navigation bar from app", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see IRecentsAnimationController#animateNavigationBarToApp(long)
|
||||||
|
*/
|
||||||
|
public void animateNavigationBarToApp(long duration) {
|
||||||
|
try {
|
||||||
|
mAnimationController.animateNavigationBarToApp(duration);
|
||||||
|
} catch (RemoteException e) {
|
||||||
|
Log.e(TAG, "Failed to animate the navigation bar to app", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user