Messaging: Further code improvements
* Remove redundant casts * getParcelable(ArrayList|Exra) without class argument is deprecated * ViewPager.setOnPageChangeListener -> addOnPageChangeListener * RecyclerView.setOnScrollListener -> addOnScrollListener * Remove unused initializations * Remove unused code Change-Id: I21beb6c90c675a4f2cfd7e3d5ebbd18b745f5911
This commit is contained in:
@@ -1544,7 +1544,7 @@ public class MmsUtils {
|
||||
|
||||
public static int bugleStatusForMms(final boolean isOutgoing, final boolean isNotification,
|
||||
final int messageBox) {
|
||||
int bugleStatus = MessageData.BUGLE_STATUS_UNKNOWN;
|
||||
int bugleStatus;
|
||||
// For a message we sync either
|
||||
if (isOutgoing) {
|
||||
if (messageBox == Mms.MESSAGE_BOX_OUTBOX || messageBox == Mms.MESSAGE_BOX_FAILED) {
|
||||
|
||||
Reference in New Issue
Block a user