Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e910010a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix non-protected broadcast NO_ACTION" into sc-v2-dev am: 2aa3d924 am: aa454bb4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16006940

Change-Id: Idf8e86d30795eccfed674f1c5e30a4de40703173
parents df4c7c46 aa454bb4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import java.lang.Exception

/**
 * UsbPermissionActivityTest
@@ -54,7 +53,9 @@ class UsbPermissionActivityTest : SysuiTestCase() {
                putExtra(Intent.EXTRA_INTENT, PendingIntent.getBroadcast(
                        mContext,
                        334,
                        Intent("NO_ACTION"),
                        Intent("NO_ACTION").apply {
                                setPackage("com.android.systemui.tests")
                        },
                        PendingIntent.FLAG_MUTABLE))
                putExtra(UsbManager.EXTRA_ACCESSORY, UsbAccessory(
                        "manufacturer",