commit | dbf3e83dff7f60cf188c2ace57c691b30e163ce5 | [log] [tgz] |
---|---|---|
author | Gary Mai <garymai@google.com> | Thu Jun 01 12:12:51 2017 -0700 |
committer | Gary Mai <garymai@google.com> | Thu Jun 01 12:13:33 2017 -0700 |
tree | 27a9b69de2c54b5aed1a6666fb3a55a2dd5f8746 | |
parent | 3ecc7d993ec0574f6176e019561157e15c49fc00 [diff] |
Fix shortcut icons on O Use IconCompat to create the adaptive icons. When attaching the icon to the result intent for ACTION_SHORTCUT on >= O use IconCompat.addToShortcutResult(). Otherwise continue to manually add it for pre-O. Test: Manually verified creating shortcuts on N M and O still work as expected. Bug: 62112388 Change-Id: I07f5a8ffd1f49edb4c21aaa572b42f641111e798