forked from organicmaps/organicmaps
[android] Reduced restriction on non-null download url when onPaymenRequired called. It's possible when we quickly get out from catalog fragment after pressing the buy/download button and callback came to another fragment
This commit is contained in:
parent
d07d4a9c6a
commit
23f5ec4fed
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class DefaultBookmarkDownloadController implements BookmarkDownloadController,
|
|||
{
|
||||
LOGGER.i(TAG, "Payment required for bookmark purchase");
|
||||
if (TextUtils.isEmpty(mDownloadUrl))
|
||||
throw new IllegalStateException("Download url must be non-null if payment required!");
|
||||
return;
|
||||
|
||||
if (mCallback != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue