Add log for refresh time for customized clocks
Test: manual and see log printed in bugreport Bug: 290746208 Change-Id: Idd7c38cfd5517b99ca6b7c37aece72ba9bf7a980
This commit is contained in:
@@ -421,6 +421,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
|
||||
* Refresh clock. Called in response to TIME_TICK broadcasts.
|
||||
*/
|
||||
void refresh() {
|
||||
mLogBuffer.log(TAG, LogLevel.INFO, "refresh");
|
||||
if (mSmartspaceController != null) {
|
||||
mSmartspaceController.requestSmartspaceUpdate();
|
||||
}
|
||||
|
||||
@@ -308,6 +308,7 @@ public class KeyguardStatusViewController extends ViewController<KeyguardStatusV
|
||||
private KeyguardUpdateMonitorCallback mInfoCallback = new KeyguardUpdateMonitorCallback() {
|
||||
@Override
|
||||
public void onTimeChanged() {
|
||||
Slog.v(TAG, "onTimeChanged");
|
||||
refreshTime();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user