1

enter image description here Is there anyway to override the google play services dialog returned from startResolutionForResult(). I am using this from the location settings api. It launches a dialog when the location is off.

It currently has a negative, neutral and positive button. What I want is to remove this negative button.

Actual dialog:

Actual image

expected dialog:

Expected image

PrincessLeiha
  • 3,144
  • 4
  • 32
  • 53
Jan
  • 3,393
  • 4
  • 21
  • 47

1 Answers1

2

for every one who is facing the same problem, check this. You need to add the builder.setAlwaysShow(true); before you do the checkLocationSettings

Community
  • 1
  • 1
PrincessLeiha
  • 3,144
  • 4
  • 32
  • 53