Skip to content

Commit

Permalink
fix inconsistency on some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
klinker24 committed Oct 24, 2019
1 parent f56437a commit d7eedce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public void downloadMultimediaMessage(final Context context, final String locati
if (!TextUtils.isEmpty(httpParams)) {
configOverrides.putString(SmsManager.MMS_CONFIG_HTTP_PARAMS, httpParams);
} else {
configOverrides = smsManager.getCarrierConfigValues();
// this doesn't seem to always work...
// configOverrides = smsManager.getCarrierConfigValues();
}

grantUriPermission(context, contentUri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void run() {
values.put(Mms.DATE_SENT, retrieveConf.getDate());
} catch (Exception e) {
}

SqliteWrapper.update(mContext, mContext.getContentResolver(),
msgUri, values, null, null);

Expand Down

0 comments on commit d7eedce

Please sign in to comment.