Rename method to not clash with new one introduced in API 23
This commit is contained in:
parent
9519f8ec8e
commit
71459ed88e
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ public class AttachmentController {
|
|||
|
||||
AttachmentController(MessagingController controller, DownloadManager downloadManager,
|
||||
MessageViewFragment messageViewFragment, AttachmentViewInfo attachment) {
|
||||
this.context = messageViewFragment.getContext();
|
||||
this.context = messageViewFragment.getApplicationContext();
|
||||
this.controller = controller;
|
||||
this.downloadManager = downloadManager;
|
||||
this.messageViewFragment = messageViewFragment;
|
||||
|
|
|
@ -656,7 +656,7 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF
|
|||
}
|
||||
}
|
||||
|
||||
public Context getContext() {
|
||||
public Context getApplicationContext() {
|
||||
return mContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue