commit | 6384878d69d3deb4a7c314f611ee62a634f21411 | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Tue Jul 12 13:36:45 2016 -0700 |
committer | Justin Klaassen <justinklaassen@google.com> | Mon Jul 18 16:57:15 2016 -0700 |
tree | ba13079ea2b7dac63563608a6da0de8c3097acc0 | |
parent | d87be076446d0687f31ef7fd8f80b52818466153 [diff] [blame] |
Cleanup TwilightService TwilightService now just reports the current twilight state, it's up to clients to provide their own locking mechanism (e.g. always day or night). Bug: 29620105 Change-Id: I2a8bb544eab0f44d269c59f36a53fbdf842b423a
diff --git a/services/core/java/com/android/server/twilight/TwilightState.java b/services/core/java/com/android/server/twilight/TwilightState.java index 81abc13..dec053b 100644 --- a/services/core/java/com/android/server/twilight/TwilightState.java +++ b/services/core/java/com/android/server/twilight/TwilightState.java
@@ -24,6 +24,7 @@ * This object is immutable. */ public class TwilightState { + private final boolean mIsNight; private final float mAmount;