commit | 9e9910267aa8e7813d290bdb6308f647e98931b5 | [log] [tgz] |
---|---|---|
author | Tsung-Mao Fang <tmfang@google.com> | Thu Feb 06 13:49:47 2020 +0800 |
committer | Tsung-Mao Fang <tmfang@google.com> | Thu Feb 06 16:55:12 2020 +0800 |
tree | 5a407c53466ce20822bb4f8fd64d7fca9e17fa83 | |
parent | 4a5fa6d629cd3bb38384e7a4cf185ece41ead5b3 [diff] |
Create a util method to get icon badged. In order to prevent DoS attack from icon size, we're usinga system lib to help convert any loaded drawable into a flattened bitmap with an appropriate size. Test: Rebuild Bug: 33646131 Change-Id: I92e76fb4e4c23c4995f63ebd2df8cbe0a349fbce