Assigned
Status Update
Comments
ca...@google.com <ca...@google.com>
ca...@google.com <ca...@google.com> #2
Please attach a sample project that reproduces your issue.
do...@gmail.com <do...@gmail.com> #3
ch...@gmail.com <ch...@gmail.com> #4
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bd065925676170c8453321e970d455fac06b8d3d
Author: Ian Lake <ilake@google.com>
Date: Mon Jan 28 15:47:16 2019
Add ProGuard rules for DrawerArrowDrawable.setProgress()
setProgress() is called via an ObjectAnimator and
therefore needs to be specifically kept when
obfuscating with ProGuard.
Test: tested in sample project attached to bug
Change-Id: I9c420ce728c5cb887d29df9f856bfd31f5bdbcdf
Fixes: 123449431
M navigation/ui/build.gradle
A navigation/ui/proguard-rules.pro
https://android-review.googlesource.com/887876
https://goto.google.com/android-sha1/bd065925676170c8453321e970d455fac06b8d3d
Branch: androidx-master-dev
commit bd065925676170c8453321e970d455fac06b8d3d
Author: Ian Lake <ilake@google.com>
Date: Mon Jan 28 15:47:16 2019
Add ProGuard rules for DrawerArrowDrawable.setProgress()
setProgress() is called via an ObjectAnimator and
therefore needs to be specifically kept when
obfuscating with ProGuard.
Test: tested in sample project attached to bug
Change-Id: I9c420ce728c5cb887d29df9f856bfd31f5bdbcdf
Fixes: 123449431
M navigation/ui/build.gradle
A navigation/ui/proguard-rules.pro
Description
Issue report
----------------
Hi,
we have production environments that implement Google Map API.
When the user load the map we check if the Google URL is accessible with http web request with method "HEAD" (Get only the header information -- no need to download any content), check a url with valid key to see that it does not return server or protocol errors .
After 11.4 this is stop to work and all the users get error message.(error attached)
I search on the document when you release the last version and cannot see any reference that you remove from IIS the 'HEAD' method.
please see the code below that was run until 11.4.23:
/// <summary>
/// This method will check a url to see that it does not return server or protocol errors
/// </summary>
/// <param name="p_url">The path to check</param>
/// <returns></returns>
public object CheckMapConnectivity(string p_url)
{
try
{
var request = WebRequest.Create(p_url) as HttpWebRequest;
if (request != null)
{
//set the timeout to 5 seconds to keep the user from waiting too long for the page to load
request.Timeout = 15000;
//Get only the header information -- no need to download any content
request.Method = "HEAD";
var response = request.GetResponse() as HttpWebResponse;
if (response != null)
{
var statusCode = (int)response.StatusCode;
if (statusCode >= 100 && statusCode < 400) //Good requests
{
return "true";
}
if (statusCode >= 500 && statusCode <= 510) //Server Errors
{
if (string.IsNullOrEmpty(response.StatusDescription))
return "Cannot make a Request to the provided url";
return "Error Number:" + statusCode + " - " + response.StatusDescription;
}
}
}
else //the request is null
{
throw (new WebException("Null Request"));
}
}
catch (WebException ex)
{
if (ex.Message == "Null Request")
{
return "Cannot make a Request to the provided url";
}
return ex.Message;
}
catch (Exception ex)
{
return ex.Message;
}
return "false";
}
p_url is:
please advise.
thank you,
Dorit