Override app launch transition for LMP preview
issue 15544569 j) Change-Id: I8aff85a154cb98d865a8834f37b13e30cd03de6c
This commit is contained in:
1 parent
71b0473f24
commit
6ea3b116fc
5 files changed
+98
No files matched your search
@@ -2744,6 +2744,10 @@ public class Launcher extends Activity
|
||||
v.getMeasuredWidth(), v.getMeasuredHeight());
|
||||
optsBundle = opts.toBundle();
|
||||
}
|
||||
if (useLaunchAnimation && Utilities.isLmp()) {
|
||||
ActivityOptions opts = ActivityOptions.makeCustomAnimation(this, R.anim.task_open_enter, R.anim.no_anim);
|
||||
optsBundle = opts.toBundle();
|
||||
}
|
||||
|
||||
if (user == null || user.equals(UserHandleCompat.myUserHandle())) {
|
||||
// Could be launching some bookkeeping activity
|
||||
|
||||
Reference in new issue
Block a user