OSDN Git Service

Fixed clock face resetting to default one after rebooting
authorshawnlin <shawnlin@google.com>
Wed, 24 Apr 2019 06:16:19 +0000 (14:16 +0800)
committershawnlin <shawnlin@google.com>
Thu, 25 Apr 2019 13:16:36 +0000 (21:16 +0800)
commit366d126d06b783050bce76fab505dda2e08a7801
treeb671a04c30e44dd6c1c125ca062de3b09aab2894
parentd9919f2750db3f33edca2f86b0b26ee3c6edc22c
Fixed clock face resetting to default one after rebooting

The root cause is that the initial clock plugin was set before the onPluginConnected() was
called.

Set the clock plugin once the onPluginConnected() is called and it's
current clock plugin.

Bug: 131044332
Test: manual
Change-Id: I133183d66db05620d6da77abb0643e8e5ee60ebc
packages/SystemUI/src/com/android/keyguard/clock/ClockManager.java