summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2011-07-19 12:10:07 -0700
committerJesse Wilson <jessewilson@google.com>2011-07-19 12:10:07 -0700
commit40c5ccfffe1aca40c8e6b9155ce2f9918b53701a (patch)
treeb7db53676f6f8ad3f8d3e2e5d7345a869ba4bcb6 /location
parentf55df0e26a71b93bda2e10de7a5b2dd9ab843765 (diff)
downloadframeworks_base-40c5ccfffe1aca40c8e6b9155ce2f9918b53701a.zip
frameworks_base-40c5ccfffe1aca40c8e6b9155ce2f9918b53701a.tar.gz
frameworks_base-40c5ccfffe1aca40c8e6b9155ce2f9918b53701a.tar.bz2
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
Diffstat (limited to 'location')
-rwxr-xr-xlocation/java/com/android/internal/location/GpsNetInitiatedHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java
index 29dec63..0adba06 100755
--- a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java
+++ b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java
@@ -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;
}