Messaging: Remove duplicate code

* mmslib contains basically the same code as android.support.v7.mms.pdu
  does, so align them code-wise and remove the mmslib duplicates
* Since mmslib contains a few usages that are now not accessible
  anymore, make the classes or methods public where it complains

Change-Id: I10b8716c0e45079e4795fda4489dc1a9535026f3
This commit is contained in:
Michael W
2025-03-04 18:52:05 +01:00
parent f83b05ea0a
commit 47f5533a73
80 changed files with 670 additions and 7037 deletions
@@ -20,9 +20,17 @@ package com.android.messaging.mmslib.pdu;
import android.content.ContentResolver;
import android.content.Context;
import androidx.collection.SimpleArrayMap;
import android.support.v7.mms.pdu.EncodedStringValue;
import android.support.v7.mms.pdu.GenericPdu;
import android.support.v7.mms.pdu.PduBody;
import android.support.v7.mms.pdu.PduContentTypes;
import android.support.v7.mms.pdu.PduHeaders;
import android.support.v7.mms.pdu.PduPart;
import android.support.v7.mms.pdu.SendReq;
import android.text.TextUtils;
import androidx.collection.SimpleArrayMap;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;