Merge "Fixes sound panel create multiple SoundSettings activity"

am: e45a8aadd4

Change-Id: I20e5dd44471df7a25bd50e0bafdf040cf9b04134
This commit is contained in:
Raff Tsai
2019-12-18 04:09:49 -08:00
committed by android-build-merger

View File

@@ -240,6 +240,8 @@ public class SliceBuilderUtils {
searchDestination.putExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, key)
.setAction("com.android.settings.SEARCH_RESULT_TRAMPOLINE")
.setComponent(null);
searchDestination.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
return searchDestination;
}