Example #1
0
 /** Configure geolocation access setting for this site. */
 public void setGeolocationPermission(ContentSetting value) {
   if (mGeolocationInfo != null) {
     mGeolocationInfo.setContentSetting(value);
   }
 }
Example #2
0
 /** Returns what permission governs geolocation access. */
 public ContentSetting getGeolocationPermission() {
   return mGeolocationInfo != null ? mGeolocationInfo.getContentSetting() : null;
 }