(Context context)
| 62 | } |
| 63 | |
| 64 | private void fixMimeType(Context context) { |
| 65 | if (context != null && |
| 66 | (type == null || type.equals("*/*") || type.endsWith("/*") || type.startsWith("message/"))) { |
| 67 | Helper.UriInfo info = Helper.getInfo(this, context); |
| 68 | this.type = EntityAttachment.getMimeType(type, info.name); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | public Uri getUri() { |
| 73 | return this.uri; |
no test coverage detected