问:如何修改android系统默认时区
举个例子,
GMT +08:00 北京的时间
那么我如何将它变成:
GMT +07:00 北京的时间
应该在哪里修改。
[解决办法]
AlarmManagerService.java (frameworks\base\services\java\com\android\server): TimeZone zone = TimeZone.getTimeZone(SystemProperties.get(TIMEZONE_PROPERTY));
CdmaServiceStateTracker.java (frameworks\base\telephony\java\com\android\internal\telephony\cdma): String zoneName = SystemProperties.get(TIMEZONE_PROPERTY);
GsmServiceStateTracker.java (frameworks\base\telephony\java\com\android\internal\telephony\gsm): String zoneName = SystemProperties.get(TIMEZONE_PROPERTY);
MccTable.java (frameworks\base\telephony\java\com\android\internal\telephony): String timezone = SystemProperties.get(ServiceStateTracker.TIMEZONE_PROPERTY);
ServiceStateTracker.java (frameworks\base\telephony\java\com\android\internal\telephony): protected static final String TIMEZONE_PROPERTY = "persist.sys.timezone";
仅供参考~
[解决办法]