Catch all exceptions when retrieving ComposedIconInfo
It is possible to receive a TransactionTooLargeException when getting the composed icon info from the package manager service. We should catch these exceptions to avoid unnecessary crashes. For reference: The Binder transaction buffer has a limited fixed size, currently 1Mb, which is shared by all transactions in progress for the process. Consequently this exception can be thrown when there are many transactions in progress even when most of the individual transactions are of moderate size. see http://developer.android.com/reference/android/os/TransactionTooLargeException.html for more details. Change-Id: I70d35dc4926125bfbef5d8c5fb8ed6d6fcdbf159
Loading
Please register or sign in to comment