mirrored from https://android.googlesource.com/platform/frameworks/opt/mms