Ensure that only SysUI can override pending intent launch flags
- Originally added in ag/5139951, this method ensured that activities launched from widgets are always started in a new task (if the activity is launched in the home task, the task is not brough forward with the recents transition). We can restrict this to only recents callers since this only applies to 1p launchers in gesture nav (both the gesture with 3p launchers and button nav in general will always start the home intent directly, which makes adding the NEW_TASK flag unnecessary). Bug: 243794108 Test: Ensure that the original bug b/112508020 still works (with the test app in the bug, swipe up still works after launching an activity from the widget, and fails without applying the override flags) Change-Id: Id53c6a2aa6da5933d488ca06a0bfc4ef89a4c343
Loading
-
mentioned in commit 2a7b7d08
-
mentioned in commit 3cb9f317
-
mentioned in commit 68ef7c5a
-
mentioned in commit 8d4767b6
-
mentioned in commit 0c4f9bd6
-
mentioned in commit 5fd5a733
-
mentioned in commit c2b24f06
-
mentioned in commit d8ee42c3
-
mentioned in commit 8418e3a0
-
mentioned in commit 3af4465d
Please register or sign in to comment