[DO NOT MERGE] Fix bugs with changing service gesture detection state.
1) Fix accidental brace movement that alters state change logic when enabling or disabling service flags.
2) Clean up service gesture detection state when services shut down.
Previously, we did not turn this flag off. This can be observed by running
'atest TouchInteractionControllerTest TouchExplorerTest'
TouchInteractionControllerTest turns on service gesture detection. TouchExplorerTest assumes it to be off. TouchExplorerTest will fail.
Bug: 243487199
Test: atest TouchInteractionControllerTest TouchExplorerTest
Change-Id: Ie9440bacd069ac9cdb13a4cbadf6513f7d16d7cc
3 files changed