Revert intent filter matching enforcement.

Samsung has reported a regression leading to app crashes in T.

Test: m
Bug: 274147456
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e5f053ee99b32a5a5e825fcd91bea741abb929d)
Merged-In: Ie7f8adf5ffe23d691d284f773fd3804443094e48
Change-Id: Ie7f8adf5ffe23d691d284f773fd3804443094e48
This commit is contained in:
John Wu
2023-03-21 02:02:53 +00:00
committed by Cherrypicker Worker
parent 5206e4ebd2
commit a17ad90092

View File

@@ -38,7 +38,7 @@ import android.annotation.Nullable;
import android.annotation.UserIdInt; import android.annotation.UserIdInt;
import android.app.ActivityManager; import android.app.ActivityManager;
import android.compat.annotation.ChangeId; import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledSince; import android.compat.annotation.Disabled;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.pm.ActivityInfo; import android.content.pm.ActivityInfo;
@@ -149,7 +149,7 @@ public class PackageManagerServiceUtils {
* allow 3P apps to trigger internal-only functionality. * allow 3P apps to trigger internal-only functionality.
*/ */
@ChangeId @ChangeId
@EnabledSince(targetSdkVersion = Build.VERSION_CODES.TIRAMISU) @Disabled /* Revert enforcement: b/274147456 */
private static final long ENFORCE_INTENTS_TO_MATCH_INTENT_FILTERS = 161252188; private static final long ENFORCE_INTENTS_TO_MATCH_INTENT_FILTERS = 161252188;
/** /**