forked from upstream-mirrors/quik
Refactor google mms packages, correct expected incoming MMS action
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
public class Base64 {
|
||||
/**
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.HashMap;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
public class PduContentTypes {
|
||||
/**
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import android.telephony.SmsManager;
|
||||
import android.util.Log;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import android.net.Uri;
|
||||
|
||||
+7
-7
@@ -14,15 +14,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
import com.google.android.mms.ContentType;
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
import com.google.android.mms.MmsException;
|
||||
import com.google.android.mms.util.DownloadDrmHelper;
|
||||
import com.google.android.mms.util.DrmConvertSession;
|
||||
import com.google.android.mms.util.PduCache;
|
||||
import com.google.android.mms.util.PduCacheEntry;
|
||||
import com.google.android.mms.util.SqliteWrapper;
|
||||
import com.google.android.mms.util_alt.DownloadDrmHelper;
|
||||
import com.google.android.mms.util_alt.DrmConvertSession;
|
||||
import com.google.android.mms.util_alt.PduCache;
|
||||
import com.google.android.mms.util_alt.PduCacheEntry;
|
||||
import com.google.android.mms.util_alt.SqliteWrapper;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.ContentUris;
|
||||
import android.content.ContentValues;
|
||||
@@ -57,7 +57,7 @@ import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.Map.Entry;
|
||||
import com.google.android.mms.pdu.EncodedStringValue;
|
||||
|
||||
/**
|
||||
* This class is the high-level manager of PDU storage.
|
||||
*/
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.pdu;
|
||||
package com.google.android.mms.pdu_alt;
|
||||
|
||||
import android.util.Log;
|
||||
import com.google.android.mms.InvalidHeaderValueException;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import android.content.Context;
|
||||
import android.drm.DrmManagerClient;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import android.content.Context;
|
||||
import android.drm.DrmConvertedStatus;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import android.content.ContentUris;
|
||||
import android.content.UriMatcher;
|
||||
+2
-2
@@ -14,9 +14,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import com.google.android.mms.pdu.GenericPdu;
|
||||
import com.google.android.mms.pdu_alt.GenericPdu;
|
||||
|
||||
public final class PduCacheEntry {
|
||||
private final GenericPdu mPdu;
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.mms.util;
|
||||
package com.google.android.mms.util_alt;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.content.ContentResolver;
|
||||
Reference in New Issue
Block a user