Acknowledge that the platform guarantees UTF-8 and UTF-16.
These log statements were dead code. That isn't much of a problem, except that the 'e.getMessage()' that was being logged could be null, and that would cause a real problem. Change-Id: I8573bc687a7eda73782bd028e8ddc048a1954dc5
This commit is contained in:
@@ -325,7 +325,7 @@ public class GpsNetInitiatedHandler {
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
Log.e(TAG, e.getMessage());
|
||||
throw new AssertionError();
|
||||
}
|
||||
return decoded;
|
||||
}
|
||||
@@ -338,7 +338,7 @@ public class GpsNetInitiatedHandler {
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
Log.e(TAG, e.getMessage());
|
||||
throw new AssertionError();
|
||||
}
|
||||
return decoded;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user