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
This commit is contained in:
Hall Liu
2016-01-07 17:35:54 -08:00
parent 7004c4407f
commit e362e501ee
2 changed files with 28 additions and 8 deletions

View File

@@ -498,6 +498,7 @@ public class TelecomManager {
mContext = context;
}
mTelecomServiceOverride = telecomServiceImpl;
android.telecom.Log.initMd5Sum();
}
/**