summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2018-11-03 16:50:06 -0700
committerKweku Adams <kwekua@google.com>2018-11-07 15:21:51 -0800
commit7e5c7018d335054be574eb351f92d94beb82d6bf (patch)
treef5e08b422b3194e188982a3d3d6ecf77c2ae14b0 /libs/hwui/renderthread/RenderProxy.cpp
parent97dfb6aeebcd538d43d5717c2a823e019b0d6c9f (diff)
Clarifying some battery saver policy variables.
The flags for the network firewall, screen brightness adjustment, and data saver are essentially to decide whether to turn on these features or not, so having them be *_disabled is confusing for someone to read. These flags differ from others such as animation_disabled or vibration_disabled, which are actually turning off features instead of enabling them. I'm updating the internal variable names and adding documentation to make the behavior clearer. I haven't changed the flag names themselves since that could make things a little more difficult if someone wants to set flags later on. Bug: 117126975 Test: atest com.android.server.power.BatterySaverPolicyTest Change-Id: If3fa220f9f62117eac39b54bf771a9cc17bcc911
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
0 files changed, 0 insertions, 0 deletions