Bug 1240711 - (Part 3) GeckoAppShell: Do not prompt for permission if we are disabling the location service. r=nalexander

--HG--
extra : commitid : 977bKfG11jc
extra : rebase_source : fb96a91a760f1f6766fd008bea422403fc096fed
This commit is contained in:
Sebastian Kaspari 2016-01-21 15:49:13 +01:00
parent 0a4d223011
commit b246f4fd3c

View File

@ -508,6 +508,7 @@ public class GeckoAppShell
.from((Activity) getContext())
.withPermissions(Manifest.permission.ACCESS_FINE_LOCATION)
.onUIThread()
.doNotPromptIf(!enable)
.run(new Runnable() {
@Override
public void run() {