Messaging: Replace ExifInterface with its androidx counterpart

Change-Id: I35ba14886b9f837d576f1cd385869614454c921f
This commit is contained in:
Michael W
2024-12-13 15:11:32 +01:00
parent d869533f6f
commit 3b7f05ba67
10 changed files with 26 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (C) 2015 The Android Open Source Project
* Copyright (C) 2024 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -488,8 +489,8 @@ public class MmsUtils {
if (imageSize <= maxPartSize &&
width <= widthLimit &&
height <= heightLimit &&
(orientation == android.media.ExifInterface.ORIENTATION_UNDEFINED ||
orientation == android.media.ExifInterface.ORIENTATION_NORMAL)) {
(orientation == androidx.exifinterface.media.ExifInterface.ORIENTATION_UNDEFINED ||
orientation == androidx.exifinterface.media.ExifInterface.ORIENTATION_NORMAL)) {
if (LogUtil.isLoggable(TAG, LogUtil.VERBOSE)) {
LogUtil.v(TAG, "addPicturePart - already sized");
}