diff --git a/touch/twoshay/aidl/compatibility_matrix_zuma.xml b/touch/twoshay/aidl/compatibility_matrix_zuma.xml index 0a40501..309e5bd 100644 --- a/touch/twoshay/aidl/compatibility_matrix_zuma.xml +++ b/touch/twoshay/aidl/compatibility_matrix_zuma.xml @@ -1,15 +1,23 @@ com.google.input - 2-4 + 2-5 ITouchContextService default + + com.google.input + 5 + + ITwoshayNotificationService + default + + com.google.input.algos.gril - 2-4 + 2-5 IGrilAntennaTuningService default @@ -17,7 +25,7 @@ com.google.input.algos.spd - 2-4 + 2-5 IScreenProtectorDetectorService default diff --git a/touch/twoshay/aidl/manifest_zuma.xml b/touch/twoshay/aidl/manifest_zuma.xml index e911d31..67bb212 100644 --- a/touch/twoshay/aidl/manifest_zuma.xml +++ b/touch/twoshay/aidl/manifest_zuma.xml @@ -1,15 +1,23 @@ com.google.input - 4 + 5 ITouchContextService default + + com.google.input + 5 + + ITwoshayNotificationService + default + + com.google.input.algos.gril - 4 + 5 IGrilAntennaTuningService default @@ -17,7 +25,7 @@ com.google.input.algos.spd - 4 + 5 IScreenProtectorDetectorService default diff --git a/touch/twoshay/sepolicy/platform_app.te b/touch/twoshay/sepolicy/platform_app.te index ac997a9..fe3318d 100644 --- a/touch/twoshay/sepolicy/platform_app.te +++ b/touch/twoshay/sepolicy/platform_app.te @@ -1,4 +1,5 @@ allow platform_app gril_antenna_tuning_service:service_manager find; allow platform_app screen_protector_detector_service:service_manager find; allow platform_app touch_context_service:service_manager find; +allow platform_app twoshay_notification_service:service_manager find; binder_call(platform_app, twoshay) diff --git a/touch/twoshay/sepolicy/service.te b/touch/twoshay/sepolicy/service.te index 4aa064d..dd7720c 100644 --- a/touch/twoshay/sepolicy/service.te +++ b/touch/twoshay/sepolicy/service.te @@ -1,3 +1,4 @@ type gril_antenna_tuning_service, service_manager_type, hal_service_type; type screen_protector_detector_service, service_manager_type, hal_service_type; type touch_context_service, service_manager_type, hal_service_type; +type twoshay_notification_service, service_manager_type, hal_service_type; diff --git a/touch/twoshay/sepolicy/service_contexts b/touch/twoshay/sepolicy/service_contexts index f6aa1db..76dc4b9 100644 --- a/touch/twoshay/sepolicy/service_contexts +++ b/touch/twoshay/sepolicy/service_contexts @@ -1,3 +1,4 @@ com.google.input.ITouchContextService/default u:object_r:touch_context_service:s0 +com.google.input.ITwoshayNotificationService/default u:object_r:twoshay_notification_service:s0 com.google.input.algos.gril.IGrilAntennaTuningService/default u:object_r:gril_antenna_tuning_service:s0 com.google.input.algos.spd.IScreenProtectorDetectorService/default u:object_r:screen_protector_detector_service:s0 diff --git a/touch/twoshay/sepolicy/twoshay.te b/touch/twoshay/sepolicy/twoshay.te index cd317a0..e910ff9 100644 --- a/touch/twoshay/sepolicy/twoshay.te +++ b/touch/twoshay/sepolicy/twoshay.te @@ -10,6 +10,7 @@ binder_use(twoshay) add_service(twoshay, gril_antenna_tuning_service) add_service(twoshay, screen_protector_detector_service) add_service(twoshay, touch_context_service) +add_service(twoshay, twoshay_notification_service) binder_call(twoshay, platform_app)