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
This commit is contained in:
Brandon Dayauon committed 2024-12-12 15:16:12 -08:00
1 parent 9632253a4a
commit d660052416
1 file changed
+2 -1
@@ -134,7 +134,8 @@ public class WorkUtilityView extends LinearLayout implements Insettable,
if (shouldUseScheduler()) {
mSchedulerButton.setVisibility(VISIBLE);
mSchedulerButton.setOnClickListener(view ->
mContext.startActivity(new Intent(mWorkSchedulerIntentAction)));
mActivityContext.startActivitySafely(view,
new Intent(mWorkSchedulerIntentAction), null /* itemInfo */));
}
}