commit | d66005241625fd4267ebe30607f6233a25aea2a6 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Thu Dec 12 14:44:22 2024 -0800 |
committer | Brandon Dayauon <brdayauon@google.com> | Thu Dec 12 15:16:12 2024 -0800 |
tree | 200ce254bebe6ff05bc806f4f601ed27cf92a8f8 | |
parent | 9632253a4aeb8f8edf5f3797f8f63f2f139af786 [diff] |
Fix swipe up to home gesture when entering scheduler page bug: 383491628 Test video: https://drive.google.com/file/d/1brSO55cBeZZMTLq5dZ-rNO7Z-aeytghe/view?usp=sharing Flag: com.android.launcher3.work_scheduler_in_work_profile Change-Id: I0a8e0b64ac175ef6ccfc4f2db1b751ea6aef6995
diff --git a/src/com/android/launcher3/allapps/WorkUtilityView.java b/src/com/android/launcher3/allapps/WorkUtilityView.java index b263639..bccc279 100644 --- a/src/com/android/launcher3/allapps/WorkUtilityView.java +++ b/src/com/android/launcher3/allapps/WorkUtilityView.java
@@ -134,7 +134,8 @@ if (shouldUseScheduler()) { mSchedulerButton.setVisibility(VISIBLE); mSchedulerButton.setOnClickListener(view -> - mContext.startActivity(new Intent(mWorkSchedulerIntentAction))); + mActivityContext.startActivitySafely(view, + new Intent(mWorkSchedulerIntentAction), null /* itemInfo */)); } }