commit | 9b421ee9dad252456e092121092eff5760f72c38 | [log] [tgz] |
---|---|---|
author | Alex Mang <alexmang@google.com> | Fri Jul 24 20:30:09 2020 -0700 |
committer | Alex Mang <alexmang@google.com> | Fri Jul 31 13:03:15 2020 -0700 |
tree | 68662d5f16823453710c95ee45fc2ee16e51d737 | |
parent | a170a5435a6f90cd53eac22eb0dd3b5d3a731274 [diff] |
Cache Feedback Enabled Setting in Controller AssistantFeedbackController#isFeedbackEnabled was making a binder call every time. We are caching this state in the feedback controller now and listening to changes in the setting. This change also moves the NOTIFICATION_FEEDBACK_ENABLED setting to Settings.Global. Bug: 161512521 Test: atest AssistantFeedbackControllerTest Change-Id: I79526f36577de2b170b703e3cbc89a29dbb0649b