OSDN Git Service

AOD: Don't use doze states when unsupported
authorAdrian Roos <roosa@google.com>
Tue, 21 Feb 2017 14:42:20 +0000 (15:42 +0100)
committerAdrian Roos <roosa@google.com>
Tue, 21 Feb 2017 20:39:50 +0000 (21:39 +0100)
commit26d8184d46d48aae37cc739cb548edf891fc2ce1
treea147da2ecc765cc4fb774de9149e02b5999ef5aa
parentc98c16ded8738054242b2576a74e145f834b6efa
AOD: Don't use doze states when unsupported

Bug: 30876804
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java
Change-Id: Iff09aef0733e30f13723208ff4e7605d40449bb2
packages/SystemUI/src/com/android/systemui/doze/DozeFactory.java
packages/SystemUI/src/com/android/systemui/doze/DozeScreenStatePreventingAdapter.java [new file with mode: 0644]
packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java [new file with mode: 0644]