From 7c6ca7679312cd8a28ff6c1b69d6d2cb5f5296a4 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Thu, 13 Sep 2018 11:54:30 -0700 Subject: [PATCH] Allow protected broadcasts in tests SysUI must send protected broadcasts to avoid system impersonation. Our tests should also allow these types of broadcasts, otherwise they will be dropped/skipped on -user builds and functionality will be broken. This CL also protects the flashlight broadcast. Fixes: 110825884 Test: atest com.android.systemui.qs.external.TileServicesTest Change-Id: I5a3dfc569c1695366e5f0e48cda8a7a32e287e7d --- packages/SystemUI/AndroidManifest.xml | 1 + packages/SystemUI/tests/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index e31dd1e6b6063..3725940f159c8 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -216,6 +216,7 @@ +