commit | e5bb03e2ea8cf0d7ab98fb6e6f8db1007d8d48d2 | [log] [tgz] |
---|---|---|
author | Christine Franks <christyfranks@google.com> | Fri Feb 10 17:36:10 2017 -0800 |
committer | Justin Klaassen <justinklaassen@google.com> | Wed May 03 15:00:43 2017 +0000 |
tree | 1016464e2fc5df5543dfe2dc8103e39f6d563857 | |
parent | 40d0f8678347a40e750a8349e923a1dd2545c4e4 [diff] [blame] |
Night display status restores on reboot/user change Fixes: 30086742 Test: runtest -c com.android.server.NightDisplayServiceTest \ frameworks-services Change-Id: I264be077e607baf8e19496f0c57549a907668005
diff --git a/services/core/java/com/android/server/twilight/TwilightState.java b/services/core/java/com/android/server/twilight/TwilightState.java index a12965d..30a8ccc 100644 --- a/services/core/java/com/android/server/twilight/TwilightState.java +++ b/services/core/java/com/android/server/twilight/TwilightState.java
@@ -31,7 +31,7 @@ private final long mSunriseTimeMillis; private final long mSunsetTimeMillis; - TwilightState(long sunriseTimeMillis, long sunsetTimeMillis) { + public TwilightState(long sunriseTimeMillis, long sunsetTimeMillis) { mSunriseTimeMillis = sunriseTimeMillis; mSunsetTimeMillis = sunsetTimeMillis; }