| commit | e362e501ee5d8f892d705c0762eff0a584cfb439 | [log] [tgz] |
|---|---|---|
| author | Hall Liu <hallliu@google.com> | Thu Jan 07 17:35:54 2016 -0800 |
| committer | Hall Liu <hallliu@google.com> | Thu Feb 11 10:39:40 2016 -0800 |
| tree | 0d4f36ab39a31a983dd91271640d5ac7eb16e7f6 | |
| parent | 7004c4407f0c76bd41d19cd6a2eb867437228ee9 [diff] [blame] |
Initialize MD5 in logging in background Use a background task to call MessageDigest.getInstance in order to avoid a possible disk read on initialization. Bug: 26069217 Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index f1cbb9a..9f478df 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java
@@ -498,6 +498,7 @@ mContext = context; } mTelecomServiceOverride = telecomServiceImpl; + android.telecom.Log.initMd5Sum(); } /**