diff options
| author | Evan Laird <evanlaird@google.com> | 2018-10-05 13:16:50 -0400 |
|---|---|---|
| committer | Evan Laird <evanlaird@google.com> | 2018-10-05 13:16:50 -0400 |
| commit | 8a1707e02126f9906090666ee29be79ed01ecc16 (patch) | |
| tree | 22269f0aa7a5047262bb9578cd76d57a8772d83c /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | aeeb3f5eda649bc6d88f2dfcd1215c7a8cd579fa (diff) | |
Fix DozeConfigurationTest
Settings.Secure.putString() was failing to remove the setting for
config_dozeAlwaysOnEnabled, so the test would only pass if the default
setting matched what was currently set on the device.
The fix seems to be to use
Settings.Secure.putStringForUser(UserHandle.USER_CURRENT), because
systemui tests are now running as the system
Test: atest com.android.systemui.doze.DozeConfigurationTest#alwaysOn_followsConfigByDefault
Change-Id: I482e1b72b4a3567d5448ded0aa110f2e3e05c515
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
