Merge cherrypicks of ['googleplex-android-review.googlesource.com/28536282'] into 24Q3-release.

Change-Id: I7feb713e45419ed22251c7841156dcb597ab93ea
This commit is contained in:
Android Build Coastguard Worker 2024-08-06 09:33:09 +00:00
commit fd916079a2

View file

@ -705,7 +705,7 @@ public class SatelliteSOSMessageRecommender extends Handler {
intent.addFlags(FLAG_ACTIVITY_CLEAR_TOP); intent.addFlags(FLAG_ACTIVITY_CLEAR_TOP);
} }
Bundle activityOptions = ActivityOptions.makeBasic() Bundle activityOptions = ActivityOptions.makeBasic()
.setPendingIntentBackgroundActivityStartMode( .setPendingIntentCreatorBackgroundActivityStartMode(
ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED) ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED)
.toBundle(); .toBundle();
intent.setComponent(new ComponentName(packageName, className)); intent.setComponent(new ComponentName(packageName, className));