title: Google Fit O Auth fails with RESULT_CANCELED without showing permission page
body: <p>Hi I have a android project where it reads certain data from application user's Google Fit profile. I faced a weird scenario as below. all the below are in debug mode and not in release mode.</p>
  
  <p>1)  when compiled from my own laptop oAuth successfully worked on my phone and workflow is working fine.</p>
  
  <p>2) when same code is compiled from another developer's machine, after selecting the account to be used, it does not show the permission page where we need to grant permission to google fit and the protected void onActivityResult(int requestCode, int resultCode, Intent data)  method is called with result code of "RESULT_CANCELED". tried numerous times with same results</p>
  
  <p>3) I plugged the same phone from my laptop and pushed the same code. this time it showed the permission page in his phone and once approved, complete flow works fine.</p>
  
  <p>4) then we uninstalled the app and pushed  the apk compiled from the other dev's laptop and now the OAuth works fine and flow is working without issue because the permission is already granted on the google profile for the application.</p>
  
  <p>the issue seems weird and any direction to solving would be appreciated. </p>