We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 334a4d8 + 64ba8e4 commit fb1e552Copy full SHA for fb1e552
services/java/com/android/server/AlarmManagerService.java
@@ -122,6 +122,14 @@ private static final class BroadcastStats {
122
public AlarmManagerService(Context context) {
123
mContext = context;
124
mDescriptor = init();
125
+
126
+ // We have to set current TimeZone info to kernel
127
+ // because kernel doesn't keep this after reboot
128
+ String tz = SystemProperties.get(TIMEZONE_PROPERTY);
129
+ if (tz != null) {
130
+ setTimeZone(tz);
131
+ }
132
133
PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
134
mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
135
0 commit comments