commit | 26ff673458c6b85ecfc9628cf6bd7522c8393d0f | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Fri Mar 27 09:33:31 2020 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Fri Mar 27 10:32:52 2020 -0700 |
tree | cac4695da2dba020a547b3234e30e933b6e60eb8 | |
parent | 393c9121cea9e03762b3e5460d523b9d5393f6f7 [diff] |
Add mSourceDrawableId to copy constructor The copy constructor of AdaptiveIconDrawable#LayerState currently does not copy mSourceDrawableId from the original layer state. This prevents drawables created from preloaded AdaptiveIconDrawables from having the correct source drawable resource id. Bug: 148488431 Test: CtsContentTestCases:android.content.pm.cts.PackageManagerTest Change-Id: I7795a337a2a364677e375776c7aec5bc9189e0da