mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
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:
parent
0a4d223011
commit
b246f4fd3c
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user