From 387367df19b7070f317787612d2a92e468ec6223 Mon Sep 17 00:00:00 2001
From: Abodunrinwa Toki <toki@google.com>
Date: Sat, 4 Feb 2017 04:09:28 +0000
Subject: [PATCH] Declare new textclassification system service.

Bug: 34781862
Test: none
Change-Id: Ie628dca592a68ed67a68dda2f3d3e0516e995c80
---
 private/service_contexts | 1 +
 public/service.te        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/private/service_contexts b/private/service_contexts
index dffdbd9eb..d53ba91ee 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -141,6 +141,7 @@ SurfaceFlinger                            u:object_r:surfaceflinger_service:s0
 task                                      u:object_r:task_service:s0
 telecom                                   u:object_r:telecom_service:s0
 telephony.registry                        u:object_r:registry_service:s0
+textclassification                        u:object_r:textclassification_service:s0
 textservices                              u:object_r:textservices_service:s0
 trust                                     u:object_r:trust_service:s0
 tv_input                                  u:object_r:tv_input_service:s0
diff --git a/public/service.te b/public/service.te
index c0cf256f1..097aa49a1 100644
--- a/public/service.te
+++ b/public/service.te
@@ -118,6 +118,7 @@ type shortcut_service, app_api_service, system_server_service, service_manager_t
 type statusbar_service, app_api_service, system_server_service, service_manager_type;
 type storagestats_service, app_api_service, system_server_service, service_manager_type;
 type task_service, system_server_service, service_manager_type;
+type textclassification_service, app_api_service, system_server_service, service_manager_type;
 type textservices_service, app_api_service, system_server_service, service_manager_type;
 type telecom_service, app_api_service, system_server_service, service_manager_type;
 type trust_service, app_api_service, system_server_service, service_manager_type;
-- 
GitLab