commit | 8730ff591ed078b3e81d9dd6a2b36cc620fccb1a | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Fri Feb 06 04:34:32 2015 -0800 |
committer | Etan Cohen <etancohen@google.com> | Mon Mar 02 10:59:58 2015 -0800 |
tree | 17fb8b67c68191dacef19ed35c59664a89d4c941 | |
parent | d04f11f09fdec8788297a0cdd1ddeda7c819e038 [diff] |
Add cache for isVoicemail check. bindView() gets called many times at dialer startup and layout updates. Besides being costly, it invokes cross-process TelecomManager methods. This change addresses the cross-process issues by adding a short-lived cache to isVoicemail() method invocations. Change-Id: Ib69c0eb3969a1b7d77c9fd1a2aa6e578a31fb5e9