diff options
author | Alex Mang <alexmang@google.com> | 2020-07-24 20:30:09 -0700 |
---|---|---|
committer | Alex Mang <alexmang@google.com> | 2020-07-31 13:03:15 -0700 |
commit | 9b421ee9dad252456e092121092eff5760f72c38 (patch) | |
tree | 68662d5f16823453710c95ee45fc2ee16e51d737 /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions