OSDN Git Service

Update clock format when locale list changes
authorLucas Dupin <dupin@google.com>
Fri, 27 Apr 2018 00:45:14 +0000 (17:45 -0700)
committerLucas Dupin <dupin@google.com>
Sat, 28 Apr 2018 03:56:13 +0000 (03:56 +0000)
commit08c013e2f05f9de6b4457b30c716595424b1bd8c
treedda243ebe5950dabf2100be8497c69492735b992
parent3d7ccaf8b5e81378770cb3e18ff66d19418b8135
Update clock format when locale list changes

Isolated clock refresh logic into refreshTime() and refreshFormat().

refreshFormat() makes 2 binder calls and should only called when
necessary: switching users, updating locale list or initialization.

Test: manual
Change-Id: Ia8a3a7655479d44b02c636c3c84ce8cc84e6f210
Fixes: 78535670
packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java