Felipe Leme bd88450183 Adds a Util.setSafeIcon() function used to avoid crashes.
There are many places on Settings that loads an icon provided by an application,
and if the icon is too big it crashes Settings.

This CL creates a helper method used to set an icon in a safe way, and
uses it in a few places (but most likely not all of them).

Bug: 65739885
Test: manual verification with an app providing a 2MB png

Change-Id: Iae2becb6d0ec8893328d9ef1de618f9bd12fa4a0
2017-10-10 08:56:56 -07:00
2017-10-07 18:49:24 -07:00
2015-04-13 09:21:39 -07:00
2017-09-12 13:10:08 -07:00
2017-09-18 17:01:23 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%