- frameworks/base/packages/Keyguard/src/com/Android/keyguard/KeyguardStatusView.JAVA
public class KeyguardStatusView extends GridLayout { clockView12 = DateFormat.getBestDateTimePattern(locale, clockView12Skel); // CLDR insists on adding an AM/PM indicator even though it wasn't in the skeleton // format. The following code removes the AM/PM indicator if we didn't want it.- if (!clockView12Skel.contAIns("a")) {+ /* if (!clockView12Skel.contains("a")) { clockView12 = clockView12.replaceAll("a", "").trim();- }+ }*/ clockView24 = DateFormat.getBestDateTimePattern(locale, clockView24Skel);
- frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
public class Clock extends TextView implements DemoMode, Tunable { R.styleable.Clock, 0, 0); try {- mAmPmStyle = a.getInt(R.styleable.Clock_amPmStyle, AM_PM_STYLE_GONE);+ mAmPmStyle = a.getInt(R.styleable.Clock_amPmStyle, AM_PM_STYLE_NORMAL); } finally { a.recycle(); }
声明:本站部分内容及图片来自互联网,转载是出于传递更多信息之目的,内容观点仅代表作者本人,不构成投资建议。投资者据此操作,风险自担。如有任何标注错误或版权侵犯请与我们联系,我们将及时更正、删除。