From fd758cbddb5c9b112e6084ef98476e7021de52ec Mon Sep 17 00:00:00 2001
From: Remi NGUYEN VAN <reminv@google.com>
Date: Tue, 15 Jan 2019 16:57:32 +0900
Subject: [PATCH] Allow NetworkStack to find the telephony service

The network stack needs access to TelephonyManager#getAllCellInfo to
send network conditions broadcasts.

Bug: 122843997
Test: Flashed, verified violation not shown and cell info obtained
properly.

Change-Id: I6ef2858c9a2d1fbbb993164a93bd985e0eee8887
---
 private/network_stack.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/private/network_stack.te b/private/network_stack.te
index f5528fb8c..9d2f2fb9f 100644
--- a/private/network_stack.te
+++ b/private/network_stack.te
@@ -19,5 +19,6 @@ allow network_stack self:packet_socket create_socket_perms_no_ioctl;
 
 allow network_stack app_api_service:service_manager find;
 allow network_stack netd_service:service_manager find;
+allow network_stack radio_service:service_manager find;
 
 binder_call(network_stack, netd);
-- 
GitLab