mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
App Pairs: Launch animation
[App Pairs 7/?] This patch implements the app pair launch animation from icon. Adds a new function, composeFadeInSplitLaunchAnimator(), in SplitAnimationController, that builds the combined launcher + shell animation. Bug: 309618233 Flag: ACONFIG com.android.wm.shell.enable_app_pairs DEVELOPMENT Test: Manual Change-Id: I8e95f629ae2a71f1bd6cbb356f5e33233e5c2906
This commit is contained in:
@@ -145,8 +145,8 @@ public class ItemClickHandler {
|
||||
*/
|
||||
private static void onClickAppPairIcon(View v) {
|
||||
Launcher launcher = Launcher.getLauncher(v.getContext());
|
||||
FolderInfo folderInfo = ((AppPairIcon) v).getInfo();
|
||||
launcher.launchAppPair(folderInfo.contents.get(0), folderInfo.contents.get(1));
|
||||
AppPairIcon appPairIcon = (AppPairIcon) v;
|
||||
launcher.launchAppPair(appPairIcon);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user