forked from organicmaps/organicmaps
Revert "[AND] Never say never to MapsWithMe"
This reverts commit 8d02a576830de2346891417bce91ba2bab577263.
This commit is contained in:
parent
e7b91da4e1
commit
f12f598c20
2 changed files with 10 additions and 0 deletions
|
@ -344,6 +344,15 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService
|
|||
.setCancelable(false)
|
||||
.setMessage(getString(resMsg))
|
||||
.setPositiveButton(getString(R.string.ok), okListener)
|
||||
.setNeutralButton(getString(R.string.never), new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface dlg, int which)
|
||||
{
|
||||
dlg.dismiss();
|
||||
mApplication.submitDialogResult(dlgID, MWMApplication.NEVER);
|
||||
}
|
||||
})
|
||||
.setNegativeButton(getString(R.string.later), new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
|
|
|
@ -297,6 +297,7 @@ public class MWMApplication extends android.app.Application implements MapStorag
|
|||
|
||||
static public final int OK = 0;
|
||||
static public final int LATER = 1;
|
||||
static public final int NEVER = 2;
|
||||
public native void submitDialogResult(int dlg, int res);
|
||||
/// @}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue