Revert intent filter matching enforcement.

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

Test: m
Bug: 274147456
Change-Id: Ie7f8adf5ffe23d691d284f773fd3804443094e48
This commit is contained in:
John Wu
2023-03-21 02:02:53 +00:00
parent 0cbdbb64c8
commit 6e5f053ee9

View File

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