Skip to content
Commit e617bc85 authored by Ytai Ben-Tsvi's avatar Ytai Ben-Tsvi
Browse files

Refactor SoundTriggerMiddlewareService

This change extracts the client validation as a decorator of
ISoundTriggerMiddlewareService, called
SoundTriggerMiddlewareValidation and leaves
SoundTriggerMiddlewareService to be a mere adapter between an
implementation of ISoundTriggerMiddlewareService and a service stub
and facilities for plumbing as a system service.

This results in a cleaner separation of concerns and also paves the
way for more decorators (logging is planned) to be easily added.

Change-Id: Ia257021d19c5e6ab6509e85a62173a55f2cf8f7a
Merged-In: Ia257021d19c5e6ab6509e85a62173a55f2cf8f7a
Bug: 150325756
parent 91ae0d0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment