OSDN Git Service

Unit test for screen timeout policy handling in Settings
authorPavel Grafov <pgrafov@google.com>
Fri, 15 Dec 2017 18:42:11 +0000 (18:42 +0000)
committerPavel Grafov <pgrafov@google.com>
Tue, 19 Dec 2017 21:05:16 +0000 (21:05 +0000)
commitd50a536d1dec05a99c174059032b518bf63efaa8
tree48bec134127b718304d49c5f200e32bf56197a8a
parent92a1a0f22fd30a23426f5bd9759308b6158c1ce1
Unit test for screen timeout policy handling in Settings

This is a follow-up for http://ag/3123412

Test: make ROBOTEST_FILTER=LockAfterTimeoutPreferenceControllerTest RunSettingsRoboTests
Test: make ROBOTEST_FILTER=TimeoutPreferenceControllerTest RunSettingsRoboTests

Bug: 63908311
Change-Id: I27631743d52163f3b6d1589b427ba617e74725a9
src/com/android/settings/display/TimeoutPreferenceController.java
src/com/android/settings/security/screenlock/LockAfterTimeoutPreferenceController.java
src/com/android/settings/wrapper/DevicePolicyManagerWrapper.java
tests/robotests/src/com/android/settings/display/TimeoutPreferenceControllerTest.java
tests/robotests/src/com/android/settings/security/screenlock/LockAfterTimeoutPreferenceControllerTest.java
tests/robotests/src/com/android/settings/testutils/shadow/ShadowDevicePolicyManagerWrapper.java