commit | 4971afc4876018838b5ba5c02dcdfb9e59221c4d | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri May 14 18:01:40 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 14 18:01:40 2021 +0000 |
tree | 2717b1ff38a589c6a2004e701bad97c8fd0e7978 | |
parent | ee06f595414eae020a839beb9a32c399f9c30f6e [diff] | |
parent | d324a44913f102412daf9425c93335229d314b4c [diff] |
Fixing clock drawable showing wrong time am: d324a44913 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/14506221 Change-Id: I5340a0531a563f825096b10dcfb40d7ed554601a
diff --git a/iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java b/iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java index 1a0fcfc..fe00428 100644 --- a/iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java +++ b/iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java
@@ -257,8 +257,8 @@ super(clockInfo); mInfo = clockInfo; - - mFullDrawable = (AdaptiveIconDrawable) mInfo.animInfo.baseDrawableState.newDrawable(); + mFullDrawable = (AdaptiveIconDrawable) mInfo.animInfo.baseDrawableState + .newDrawable().mutate(); mForeground = (LayerDrawable) mFullDrawable.getForeground(); }